AuthOptions class
Constructors
-
AuthOptions({bool useSecureStorage = true, String refreshTokenEndpoint = '', String refreshTokenParameterName = '', RefreshTokenStrategy refreshTokenExecutionType = RefreshTokenStrategy.responseAndRetry, List<
String> ignoreAuthForPaths = const [], String resolveJwt(dynamic response)?, String resolveRefreshToken(dynamic response)?, dynamic refreshTokenBodyBuilder(String jwt, String refreshToken)?, Map<String, dynamic> ? refreshTokenHeadersBuilder(String jwt, String refreshToken)?}) -
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
ignoreAuthForPaths
→ List<
String> -
final
- refreshTokenBodyBuilder → dynamic Function(String jwt, String refreshToken)?
-
final
- refreshTokenEndpoint → String
-
final
- refreshTokenExecutionType → RefreshTokenStrategy
-
final
-
refreshTokenHeadersBuilder
→ Map<
String, dynamic> ? Function(String jwt, String refreshToken)? -
final
- refreshTokenParameterName → String
-
final
- resolveJwt → String Function(dynamic response)?
-
final
- resolveRefreshToken → String Function(dynamic response)?
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- useSecureStorage → bool
-
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited