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

Private Member Functions

 AuthInterceptor ({required this.dio})
override void onRequest (RequestOptions options, RequestInterceptorHandler handler,) async
override void onResponse (Response response, ResponseInterceptorHandler handler,) async
Future< void_handleTokenExpiration () async

Private Attributes

final Dio dio
final _tokenSecureStorage = SecureStorageService(key: Strings.tokenKey)
final AuthService _authService = AuthService()
final FastSignInService _fastSignInService = FastSignInService()

Detailed Description

Definition at line 17 of file auth_interceptor.dart.

Member Function Documentation

◆ _handleTokenExpiration()

Future< void > Interceptor::_handleTokenExpiration ( )
inlineprivate

Definition at line 63 of file auth_interceptor.dart.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ AuthInterceptor()

Interceptor::AuthInterceptor ( {required this.dio} )
private

◆ onRequest()

override void Interceptor::onRequest ( RequestOptions options,
RequestInterceptorHandler handler )
inlineprivate

Definition at line 27 of file auth_interceptor.dart.

◆ onResponse()

override void Interceptor::onResponse ( Response response,
ResponseInterceptorHandler handler )
inlineprivate

Definition at line 40 of file auth_interceptor.dart.

Here is the call graph for this function:

Member Data Documentation

◆ _authService

final AuthService Interceptor::_authService = AuthService()
private

Definition at line 23 of file auth_interceptor.dart.

◆ _fastSignInService

final FastSignInService Interceptor::_fastSignInService = FastSignInService()
private

Definition at line 24 of file auth_interceptor.dart.

◆ _tokenSecureStorage

final Interceptor::_tokenSecureStorage = SecureStorageService(key: Strings.tokenKey)
private

Definition at line 22 of file auth_interceptor.dart.

◆ dio

final Dio Interceptor::dio
private

Definition at line 18 of file auth_interceptor.dart.


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