Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PrimitiveArrayClaim<ValueType>

Type Parameters

  • ValueType

Hierarchy

  • PrimitiveArrayClaim

Index

Constructors

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: { excludes: any; excludesAll: any; includes: any; includesAll: any; includesAny: any }

Type declaration

  • excludes:function
    • Parameters

      • val: ValueType
      • Optional maxAgeInSeconds: number
      • Optional id: string

      Returns SessionClaimValidator

  • excludesAll:function
    • Parameters

      • val: ValueType[]
      • Optional maxAgeInSeconds: number
      • Optional id: string

      Returns SessionClaimValidator

  • includes:function
    • Parameters

      • val: ValueType
      • Optional maxAgeInSeconds: number
      • Optional id: string

      Returns SessionClaimValidator

  • includesAll:function
    • Parameters

      • val: ValueType[]
      • Optional maxAgeInSeconds: number
      • Optional id: string

      Returns SessionClaimValidator

  • includesAny:function
    • Parameters

      • val: ValueType[]
      • Optional maxAgeInSeconds: number
      • Optional id: string

      Returns SessionClaimValidator

Methods

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

    • payload: any
    • Optional _userContext: any

    Returns undefined | number

  • getValueFromPayload(payload: any, _userContext?: any): ValueType[]
  • Parameters

    • payload: any
    • Optional _userContext: any

    Returns ValueType[]

Generated using TypeDoc