A no-op stub implementation used when authentication is disabled.
More...
#include <authentication.h>
|
std::string | token () |
| Returns an empty token string.
|
|
bool | loggedIn () |
| Always returns false, indicating no user is logged in.
|
|
void | refreshToken () |
| No-op token refresh method.
|
|
|
static void | create () |
| No-op create method.
|
|
A no-op stub implementation used when authentication is disabled.
When built in debug mode or with NO_AUTH defined, this stub provides empty implementations that do nothing.
◆ create()
static void Authentication::create |
( |
| ) |
|
|
inlinestatic |
◆ loggedIn()
bool Authentication::loggedIn |
( |
| ) |
|
|
inline |
Always returns false, indicating no user is logged in.
- Returns
- False.
◆ refreshToken()
void Authentication::refreshToken |
( |
| ) |
|
|
inline |
No-op token refresh method.
◆ token()
std::string Authentication::token |
( |
| ) |
|
|
inline |
Returns an empty token string.
- Returns
- An empty string.
The documentation for this class was generated from the following file: