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

Private Member Functions

 AuthInterceptor ({required this.dio})
override void onRequest (RequestOptions options, RequestInterceptorHandler handler,) async
override void onError (DioException err, ErrorInterceptorHandler handler,) async
Future< void > _handleTokenExpiration () async

Private Attributes

final Dio dio
final _tokenSecureStorage = SecureStorage(key: Strings.tokenKey)
final _sessionSecureStorage = SecureStorage(key: Strings.sessionKey)

Detailed Description

Definition at line 6 of file auth_interceptor.dart.

Member Function Documentation

◆ _handleTokenExpiration()

Future< void > Interceptor::_handleTokenExpiration ( )
inlineprivate

Definition at line 38 of file auth_interceptor.dart.

Here is the caller graph for this function:

◆ AuthInterceptor()

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

◆ onError()

override void Interceptor::onError ( DioException err,
ErrorInterceptorHandler handler )
inlineprivate

Definition at line 28 of file auth_interceptor.dart.

Here is the call graph for this function:

◆ onRequest()

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

Definition at line 15 of file auth_interceptor.dart.

Member Data Documentation

◆ _sessionSecureStorage

final Interceptor::_sessionSecureStorage = SecureStorage(key: Strings.sessionKey)
private

Definition at line 12 of file auth_interceptor.dart.

◆ _tokenSecureStorage

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

Definition at line 11 of file auth_interceptor.dart.

◆ dio

final Dio Interceptor::dio
private

Definition at line 7 of file auth_interceptor.dart.


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