JwtRefreshInterceptor class
JWT Refresh interceptor örneği
- Inheritance
-
- Object
- QuickInterceptor
- JwtRefreshInterceptor
Constructors
-
JwtRefreshInterceptor({required Future<
String?> getAccessToken(), required Future<String?> refreshToken()})
Properties
-
getAccessToken
→ Future<
String?> Function() -
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
refreshToken
→ Future<
String?> Function() -
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
onError(
RequestError error) → Future< void> -
override
-
onRequest(
RequestOptions options) → Future< void> -
override
-
onResponse(
ResponseOptions options) → Future< void> -
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited