Cavoke  1.1.0
A Platform for creating and hosting multiplayer turn-based board games
Loading...
Searching...
No Matches
cavoke::auth::AuthenticationManager Struct Reference

#include <AuthenticationManager.h>

Inheritance diagram for cavoke::auth::AuthenticationManager:
[legend]

Signals

void authenticated ()
 

Public Member Functions

bool checkAuthStatus ()
 
void init ()
 
void relogin ()
 

Static Public Member Functions

static AuthenticationManagergetInstance ()
 Singleton wrapper.
 

Public Attributes

QOAuth2AuthorizationCodeFlow oauth2
 

Detailed Description

Manages all Oauth2 related things. Including code flow itself and storing refresh tokens.

Definition at line 10 of file AuthenticationManager.h.

Member Function Documentation

◆ checkAuthStatus()

bool cavoke::auth::AuthenticationManager::checkAuthStatus ( )

Definition at line 55 of file AuthenticationManager.cpp.

◆ getInstance()

static AuthenticationManager & cavoke::auth::AuthenticationManager::getInstance ( )
inlinestatic

Singleton wrapper.

Definition at line 16 of file AuthenticationManager.h.

◆ init()

void cavoke::auth::AuthenticationManager::init ( )

Definition at line 13 of file AuthenticationManager.cpp.

◆ relogin()

void cavoke::auth::AuthenticationManager::relogin ( )

Definition at line 117 of file AuthenticationManager.cpp.

Member Data Documentation

◆ oauth2

QOAuth2AuthorizationCodeFlow cavoke::auth::AuthenticationManager::oauth2

Definition at line 14 of file AuthenticationManager.h.


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