Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

Index

Constructors

  • new BooleanClaim(config: PrimitiveClaimConfig): BooleanClaim

Properties

defaultMaxAgeInSeconds: undefined | number
id: string
refresh: ((userContext: any) => Promise<void>)

Type declaration

    • (userContext: any): Promise<void>
    • Makes an API call that will refresh the claim in the token.

      Parameters

      • userContext: any

      Returns Promise<void>

validators: { hasValue: ((val: boolean, maxAgeInSeconds?: undefined | number, id?: string) => SessionClaimValidator) } & BooleanValidators

Methods

  • getLastFetchedTime(payload: any, _userContext?: any): undefined | number
  • getValueFromPayload(payload: any, _userContext?: any): boolean

Generated using TypeDoc