Options
All
  • Public
  • Public/Protected
  • All
Menu

Class JWTAuthOptions

Options describing how an JWT Auth should behave.

Hierarchy

  • JWTAuthOptions

Index

Constructors

constructor

Methods

addJwk

  • Parameters

    • jwks: {}
      • [key: string]: any

    Returns JWTAuthOptions

addPubSecKey

  • Parameters

    • pubSecKeys: PubSecKeyOptions

    Returns JWTAuthOptions

getJWTOptions

  • getJWTOptions(): JWTOptions
  • Returns JWTOptions

getJwks

  • getJwks(): {}[]
  • Returns {}[]

getKeyStore

  • getKeyStore(): KeyStoreOptions
  • Returns KeyStoreOptions

getPermissionsClaimKey

  • getPermissionsClaimKey(): string
  • Returns string

getPubSecKeys

  • getPubSecKeys(): PubSecKeyOptions[]
  • Returns PubSecKeyOptions[]

setJWTOptions

  • Parameters

    • jwtOptions: JWTOptions

    Returns JWTAuthOptions

setJwks

  • Parameters

    • jwks: {}[]

    Returns JWTAuthOptions

setKeyStore

  • Parameters

    • keyStore: KeyStoreOptions

    Returns JWTAuthOptions

setPermissionsClaimKey

  • Parameters

    • permissionsClaimKey: string

    Returns JWTAuthOptions

setPubSecKeys

  • Parameters

    • pubSecKeys: PubSecKeyOptions[]

    Returns JWTAuthOptions

Generated using TypeDoc