UserAuthClient
class UserAuthClient
Functions
| Name | Description |
|---|---|
| authorizeOneTimeToken | @brief Validate and authorize, asynchronously, a given one-time token against a given topic. |
Function Details
authorizeOneTimeToken
void authorizeOneTimeToken(const std::string& token, const std::string& topic, const AuthOneTimeTokenHandler& handler)
@brief Validate and authorize, asynchronously, a given one-time token against a given topic.
token
: the token to be validated and authorized.
topic
: the topic against which the user linked to a valid token will be authorized.
handler
: the handler to be called when the token is processed.