Class AuthRefreshService

Inheritance Relationships

Base Type

Class Documentation

class AuthRefreshService : public axr::sdk::ServiceBase<AuthToken>

Public Functions

inline AuthRefreshService(std::shared_ptr<Configuration> config, std::shared_ptr<net::IApiClient> apiClient)
inline ~AuthRefreshService()
pplx::task<std::shared_ptr<AuthToken>> Authenticate(const utility::char_t *token, bool newSession = false)

Retrieves a new authorization access token using a given refresh token.

Parameters

token – The refresh token to use for re-authentication.

Returns

A task whose result is the authentication token.

pplx::task<std::shared_ptr<AuthToken>> Authenticate(const utility::string_t &token, bool newSession = false)

Retrieves a new authorization access token using a given refresh token.

Parameters

token – The refresh token to use for re-authentication.

Returns

A task whose result is the authentication token.

Public Static Functions

static inline const utility::char_t *ClassName()

Returns the fully qualified name of the class.