Options
All
  • Public
  • Public/Protected
  • All
Menu

Type Parameters

  • T

Hierarchy

  • PrimitiveArrayClaim<T>
    • PrimitiveArrayClaim

Index

Constructors

  • new PrimitiveArrayClaim<T>(config: PrimitiveArrayClaimConfig & { onFailureRedirection?: ValidationFailureCallback; showAccessDeniedOnFailure?: boolean }): PrimitiveArrayClaim<T>

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): T[]
  • Parameters

    • payload: any
    • Optional _userContext: any

    Returns T[]

Generated using TypeDoc