AuthOptions constructor

const AuthOptions({
  1. bool useSecureStorage = true,
  2. String refreshTokenEndpoint = '',
  3. String refreshTokenParameterName = '',
  4. RefreshTokenStrategy refreshTokenExecutionType = RefreshTokenStrategy.responseAndRetry,
  5. List<String> ignoreAuthForPaths = const [],
  6. String resolveJwt(
    1. dynamic response
    )?,
  7. String resolveRefreshToken(
    1. dynamic response
    )?,
  8. dynamic refreshTokenBodyBuilder(
    1. String jwt,
    2. String refreshToken
    )?,
  9. Map<String, dynamic>? refreshTokenHeadersBuilder(
    1. String jwt,
    2. String refreshToken
    )?,
})

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,
});