JwtStrategyOptions constructor

JwtStrategyOptions(
  1. JWTKey secret, {
  2. required ExtractJwtFunction jwtFromRequest,
  3. bool checkNotBefore = true,
  4. bool checkExpiresIn = true,
  5. bool checkHeaderType = true,
  6. Duration? issueAt,
  7. Audience? audience,
  8. String? subject,
  9. String? issuer,
  10. String? jwtId,
})

Creates a new JwtStrategyOptions

Implementation

JwtStrategyOptions(this.secret,
    {required this.jwtFromRequest,
    this.checkNotBefore = true,
    this.checkExpiresIn = true,
    this.checkHeaderType = true,
    this.issueAt,
    this.audience,
    this.subject,
    this.issuer,
    this.jwtId});