Twitch SDK (Internal)
Public Member Functions | Private Attributes | List of all members
ttv::OAuthToken Class Reference

#include <oauthtoken.h>

Public Member Functions

 OAuthToken (const std::string &token)
 
std::string GetToken () const
 
const std::vector< std::string > & GetScopes () const
 
void SetScopes (const std::vector< std::string > &scopes)
 
bool GetValid () const
 
void SetValid (bool valid)
 

Private Attributes

std::string mToken
 
std::vector< std::string > mScopes
 
bool mValid
 

Constructor & Destructor Documentation

◆ OAuthToken()

ttv::OAuthToken::OAuthToken ( const std::string &  token)

Member Function Documentation

◆ GetScopes()

const std::vector<std::string>& ttv::OAuthToken::GetScopes ( ) const
inline

◆ GetToken()

std::string ttv::OAuthToken::GetToken ( ) const
inline

◆ GetValid()

bool ttv::OAuthToken::GetValid ( ) const
inline

◆ SetScopes()

void ttv::OAuthToken::SetScopes ( const std::vector< std::string > &  scopes)
inline

◆ SetValid()

void ttv::OAuthToken::SetValid ( bool  valid)
inline

Member Data Documentation

◆ mScopes

std::vector<std::string> ttv::OAuthToken::mScopes
private

◆ mToken

std::string ttv::OAuthToken::mToken
private

◆ mValid

bool ttv::OAuthToken::mValid
private

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