Class AuthBasicService
Defined in File AuthBasicService.h
Page Contents
Inheritance Relationships
Base Type
public axr::sdk::ServiceBase< AuthToken >
(Template Class ServiceBase)
Class Documentation
-
class AuthBasicService : public axr::sdk::ServiceBase<AuthToken>
Public Functions
-
inline ~AuthBasicService()
-
pplx::task<std::shared_ptr<AuthToken>> Authenticate(const utility::char_t *username, const utility::char_t *password)
Retrieves an authorization token using a given username and password.
- Parameters
username – The unique name of the user to authenticate with.
password – The password secret of the user to authenticate with.
- Returns
A task whose result is the authentication token.
-
pplx::task<std::shared_ptr<AuthToken>> Authenticate(const utility::string_t &username, const utility::string_t &password)
Retrieves an authorization token using a given username and password.
- Parameters
username – The unique name of the user to authenticate with.
password – The password secret of the user to authenticate with.
- 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 ~AuthBasicService()