Cavoke  1.1.0
A Platform for creating and hosting multiplayer turn-based board games
Loading...
Searching...
No Matches
AuthDialog Class Reference

#include <authdialog.h>

Inheritance diagram for AuthDialog:
[legend]

Public Member Functions

 AuthDialog (QWidget *parent=nullptr)
 

Static Public Member Functions

static bool verifyAuth (QWidget *parent=nullptr)
 

Detailed Description

Dialog that asks users to log in in order to use methods that require authentication.

Definition at line 14 of file authdialog.h.

Constructor & Destructor Documentation

◆ AuthDialog()

AuthDialog::AuthDialog ( QWidget *  parent = nullptr)
explicit

Definition at line 4 of file authdialog.cpp.

◆ ~AuthDialog()

AuthDialog::~AuthDialog ( )

Definition at line 9 of file authdialog.cpp.

Member Function Documentation

◆ verifyAuth()

bool AuthDialog::verifyAuth ( QWidget *  parent = nullptr)
static

Auth guard for methods that require authentication (e.g. session creation)

Returns
true if authenticated successfully, false otherwise

Definition at line 28 of file authdialog.cpp.


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