Aidra Driver 1.3.5+68
Aidra Driver - Your path to green energy
Loading...
Searching...
No Matches
AuthService Class Reference
Collaboration diagram for AuthService:

Private Member Functions

 AuthService ()
Future< voidsaveToken (String token) async
Future< String?> getToken () async
Future< voiddeleteToken () async
Future< boolisTokenValid () async

Private Attributes

final SecureStorageService _secureStorage = SecureStorageService(key: Strings.tokenKey)

Detailed Description

Definition at line 6 of file auth_service.dart.

Constructor & Destructor Documentation

◆ AuthService()

AuthService::AuthService ( )
private

Member Function Documentation

◆ deleteToken()

Future< void > AuthService::deleteToken ( )
inlineprivate

Definition at line 19 of file auth_service.dart.

◆ getToken()

Future< String?> AuthService::getToken ( )
inlineprivate

Definition at line 15 of file auth_service.dart.

Here is the caller graph for this function:

◆ isTokenValid()

Future< bool > AuthService::isTokenValid ( )
inlineprivate

Definition at line 23 of file auth_service.dart.

Here is the call graph for this function:

◆ saveToken()

Future< void > AuthService::saveToken ( String token)
inlineprivate

Definition at line 11 of file auth_service.dart.

Member Data Documentation

◆ _secureStorage

final SecureStorageService AuthService::_secureStorage = SecureStorageService(key: Strings.tokenKey)
private

Definition at line 7 of file auth_service.dart.


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