Aidra Connect 10.0.2+16
Aidra Connect Mobile Application
Loading...
Searching...
No Matches
AuthService Class Reference

Private Member Functions

 AuthService ()
Future< void > saveToken (String token) async
Future< String?> getToken () async
Future< void > deleteToken () async
Future< bool > isTokenValid () async

Private Attributes

final _secureStorage = SecureStorage(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 AuthService::_secureStorage = SecureStorage(key: Strings.tokenKey)
private

Definition at line 7 of file auth_service.dart.


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