refresh_token

Module: Server C++ SDK

The interface for the function object, which is passed by the SDK to the applications' refresh token callback. The application needs to fetch a new token and invoke the function call operator that passes the token.

#include <sdk.h>

Public Functions

Name
virtual~refresh_token()
The destructor of the refresh token object.
virtual voidoperator()(std::string && token) =0
Overloaded function call operator which will be passed the newly acquired token.
class dolbyio::comms::refresh_token;

Public Functions Documentation

function ~refresh_token

virtual ~refresh_token()

The destructor of the refresh token object.

function operator()

virtual void operator()(
    std::string && token
) =0

Overloaded function call operator which will be passed the newly acquired token.

Parameters:

  • token R-value reference to the token string.


Did this page help you?