![]() |
Rise
The Vieneo Province
|
Struct that encapsulates the challenge part of the code verification flow. More...
#include <discordpp.h>
Public Member Functions | |
| AuthorizationCodeChallenge (AuthorizationCodeChallenge &&other) noexcept | |
| Move constructor for AuthorizationCodeChallenge. | |
| AuthorizationCodeChallenge & | operator= (AuthorizationCodeChallenge &&other) noexcept |
| Move assignment operator for AuthorizationCodeChallenge. | |
| operator bool () const | |
| Returns true if the instance contains a valid object. | |
| AuthorizationCodeChallenge (const AuthorizationCodeChallenge &arg0) | |
| Copy constructor for AuthorizationCodeChallenge. | |
| AuthorizationCodeChallenge & | operator= (const AuthorizationCodeChallenge &arg0) |
| Copy assignment operator for AuthorizationCodeChallenge. | |
| AuthorizationCodeChallenge () | |
| discordpp::AuthenticationCodeChallengeMethod | Method () const |
| The method used to generate the challenge. The only method used by the SDK is sha256. | |
| void | SetMethod (discordpp::AuthenticationCodeChallengeMethod Method) |
| Setter for AuthorizationCodeChallenge::Method. | |
| std::string | Challenge () const |
| The challenge value. | |
| void | SetChallenge (std::string Challenge) |
| Setter for AuthorizationCodeChallenge::Challenge. | |
Static Public Attributes | |
| static const AuthorizationCodeChallenge | nullobj |
| Uninitialized instance of AuthorizationCodeChallenge. | |
Struct that encapsulates the challenge part of the code verification flow.
Definition at line 1548 of file discordpp.h.
|
noexcept |
Move constructor for AuthorizationCodeChallenge.
| discordpp::AuthorizationCodeChallenge::AuthorizationCodeChallenge | ( | const AuthorizationCodeChallenge & | arg0 | ) |
|
explicit |
| std::string discordpp::AuthorizationCodeChallenge::Challenge | ( | ) | const |
The challenge value.
| discordpp::AuthenticationCodeChallengeMethod discordpp::AuthorizationCodeChallenge::Method | ( | ) | const |
The method used to generate the challenge. The only method used by the SDK is sha256.
|
inline |
Returns true if the instance contains a valid object.
Definition at line 1570 of file discordpp.h.
|
noexcept |
| AuthorizationCodeChallenge & discordpp::AuthorizationCodeChallenge::operator= | ( | const AuthorizationCodeChallenge & | arg0 | ) |
| void discordpp::AuthorizationCodeChallenge::SetChallenge | ( | std::string | Challenge | ) |
| void discordpp::AuthorizationCodeChallenge::SetMethod | ( | discordpp::AuthenticationCodeChallengeMethod | Method | ) |
|
static |
Uninitialized instance of AuthorizationCodeChallenge.
Definition at line 1568 of file discordpp.h.