Class AuthRefreshService
Defined in File AuthRefreshService.h
Page Contents
Inheritance Relationships
Base Type
public axr::sdk::ServiceBase< AuthToken >
(Template Class ServiceBase)
Class Documentation
-
class AuthRefreshService : public axr::sdk::ServiceBase<AuthToken>
Public Functions
-
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.
-
inline ~AuthRefreshService()