AuthOptions constructor
const
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()?,
- Map<
String, dynamic> ? refreshTokenHeadersBuilder()?,
Implementation
const AuthOptions({
this.useSecureStorage = true,
this.refreshTokenEndpoint = '',
this.refreshTokenParameterName = '',
this.refreshTokenExecutionType = RefreshTokenStrategy.responseAndRetry,
this.ignoreAuthForPaths = const [],
this.resolveJwt,
this.resolveRefreshToken,
this.refreshTokenBodyBuilder,
this.refreshTokenHeadersBuilder,
});