digiKam
DigikamGenericGoogleServicesPlugin::GSTalkerBase Class Reference
+ Inheritance diagram for DigikamGenericGoogleServicesPlugin::GSTalkerBase:

Signals

void signalAccessTokenObtained ()
 
void signalAuthenticationRefused ()
 
void signalBusy (bool val)
 
void signalLinkingSucceeded ()
 

Public Member Functions

bool authenticated () const
 
void doOAuth ()
 
 GSTalkerBase (QWidget *const parent, const QStringList &scope, const QString &serviceName)
 
void link ()
 
void unlink ()
 
 ~GSTalkerBase () override
 

Protected Attributes

QString m_accessToken
 
QString m_bearerAccessToken
 
QNetworkReply * m_reply
 
QStringList m_scope
 
QString m_serviceName
 

Constructor & Destructor Documentation

◆ GSTalkerBase()

DigikamGenericGoogleServicesPlugin::GSTalkerBase::GSTalkerBase ( QWidget *const  parent,
const QStringList &  scope,
const QString &  serviceName 
)
explicit

◆ ~GSTalkerBase()

DigikamGenericGoogleServicesPlugin::GSTalkerBase::~GSTalkerBase ( )
override

References m_reply.

Member Function Documentation

◆ authenticated()

bool DigikamGenericGoogleServicesPlugin::GSTalkerBase::authenticated ( ) const

◆ doOAuth()

void DigikamGenericGoogleServicesPlugin::GSTalkerBase::doOAuth ( )

If user has not logined yet (sessionExpires == 0), link If access token has expired yet, refresh TODO: Otherwise, provoke slotLinkingSucceeded

References link().

◆ link()

void DigikamGenericGoogleServicesPlugin::GSTalkerBase::link ( )

References signalBusy().

Referenced by doOAuth().

◆ signalAccessTokenObtained

void DigikamGenericGoogleServicesPlugin::GSTalkerBase::signalAccessTokenObtained ( )
signal

◆ signalAuthenticationRefused

void DigikamGenericGoogleServicesPlugin::GSTalkerBase::signalAuthenticationRefused ( )
signal

◆ signalBusy

◆ signalLinkingSucceeded

void DigikamGenericGoogleServicesPlugin::GSTalkerBase::signalLinkingSucceeded ( )
signal

Referenced by GSTalkerBase().

◆ unlink()

void DigikamGenericGoogleServicesPlugin::GSTalkerBase::unlink ( )

Member Data Documentation

◆ m_accessToken

QString DigikamGenericGoogleServicesPlugin::GSTalkerBase::m_accessToken
protected

◆ m_bearerAccessToken

◆ m_reply

◆ m_scope

QStringList DigikamGenericGoogleServicesPlugin::GSTalkerBase::m_scope
protected

Referenced by GSTalkerBase().

◆ m_serviceName

QString DigikamGenericGoogleServicesPlugin::GSTalkerBase::m_serviceName
protected

Referenced by GSTalkerBase(), and unlink().


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