Rise
The Vieneo Province
Loading...
Searching...
No Matches
discordpp::AuthorizationCodeChallenge Class Reference

Struct that encapsulates the challenge part of the code verification flow. More...

#include <discordpp.h>

Collaboration diagram for discordpp::AuthorizationCodeChallenge:
[legend]

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.

Detailed Description

Struct that encapsulates the challenge part of the code verification flow.

Definition at line 1548 of file discordpp.h.

Constructor & Destructor Documentation

◆ AuthorizationCodeChallenge() [1/3]

discordpp::AuthorizationCodeChallenge::AuthorizationCodeChallenge ( AuthorizationCodeChallenge && other)
noexcept

Move constructor for AuthorizationCodeChallenge.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ AuthorizationCodeChallenge() [2/3]

discordpp::AuthorizationCodeChallenge::AuthorizationCodeChallenge ( const AuthorizationCodeChallenge & arg0)

Copy constructor for AuthorizationCodeChallenge.

Here is the call graph for this function:

◆ AuthorizationCodeChallenge() [3/3]

discordpp::AuthorizationCodeChallenge::AuthorizationCodeChallenge ( )
explicit

Member Function Documentation

◆ Challenge()

std::string discordpp::AuthorizationCodeChallenge::Challenge ( ) const

The challenge value.

Here is the caller graph for this function:

◆ Method()

discordpp::AuthenticationCodeChallengeMethod discordpp::AuthorizationCodeChallenge::Method ( ) const

The method used to generate the challenge. The only method used by the SDK is sha256.

Here is the caller graph for this function:

◆ operator bool()

discordpp::AuthorizationCodeChallenge::operator bool ( ) const
inline

Returns true if the instance contains a valid object.

Definition at line 1570 of file discordpp.h.

◆ operator=() [1/2]

AuthorizationCodeChallenge & discordpp::AuthorizationCodeChallenge::operator= ( AuthorizationCodeChallenge && other)
noexcept

Move assignment operator for AuthorizationCodeChallenge.

Here is the call graph for this function:

◆ operator=() [2/2]

AuthorizationCodeChallenge & discordpp::AuthorizationCodeChallenge::operator= ( const AuthorizationCodeChallenge & arg0)

Copy assignment operator for AuthorizationCodeChallenge.

Here is the call graph for this function:

◆ SetChallenge()

void discordpp::AuthorizationCodeChallenge::SetChallenge ( std::string Challenge)

Setter for AuthorizationCodeChallenge::Challenge.

Here is the call graph for this function:

◆ SetMethod()

void discordpp::AuthorizationCodeChallenge::SetMethod ( discordpp::AuthenticationCodeChallengeMethod Method)

Setter for AuthorizationCodeChallenge::Method.

Here is the call graph for this function:

Member Data Documentation

◆ nullobj

const AuthorizationCodeChallenge discordpp::AuthorizationCodeChallenge::nullobj
static

Uninitialized instance of AuthorizationCodeChallenge.

Definition at line 1568 of file discordpp.h.


The documentation for this class was generated from the following file: