Audacity 3.2.0
Public Attributes | List of all members
audacity::cloud::audiocom::AuthStateChangedMessage Struct Referencefinal

Message that is sent when authorization state changes. More...

#include <OAuthService.h>

Collaboration diagram for audacity::cloud::audiocom::AuthStateChangedMessage:
[legend]

Public Attributes

std::string_view accessToken
 OAuth access token, valid for the current session or less. More...
 
std::string_view errorMessage
 Error message returned by the server in case of oauth error. More...
 
AudiocomTrace trace
 
bool authorised
 Flag that indicates if user is authorised. More...
 
bool silent
 

Detailed Description

Message that is sent when authorization state changes.

Definition at line 28 of file OAuthService.h.

Member Data Documentation

◆ accessToken

std::string_view audacity::cloud::audiocom::AuthStateChangedMessage::accessToken

OAuth access token, valid for the current session or less.

Definition at line 31 of file OAuthService.h.

◆ authorised

bool audacity::cloud::audiocom::AuthStateChangedMessage::authorised

Flag that indicates if user is authorised.

Definition at line 36 of file OAuthService.h.

Referenced by audacity::cloud::audiocom::AuthorizationHandler::OnAuthStateChanged(), and LoginDialog::OnOAuthStateChanged().

◆ errorMessage

std::string_view audacity::cloud::audiocom::AuthStateChangedMessage::errorMessage

Error message returned by the server in case of oauth error.

Definition at line 33 of file OAuthService.h.

Referenced by audacity::cloud::audiocom::AuthorizationHandler::OnAuthStateChanged().

◆ silent

bool audacity::cloud::audiocom::AuthStateChangedMessage::silent

◆ trace

AudiocomTrace audacity::cloud::audiocom::AuthStateChangedMessage::trace

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