diff --git a/docs/classes/BooleanClaim.html b/docs/classes/BooleanClaim.html index e34ccb4c..88ea75b0 100644 --- a/docs/classes/BooleanClaim.html +++ b/docs/classes/BooleanClaim.html @@ -1,3 +1,3 @@ -BooleanClaim | supertokens-website
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

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

\ No newline at end of file diff --git a/docs/classes/PrimitiveArrayClaim.html b/docs/classes/PrimitiveArrayClaim.html index 8a23cc44..c0f773e3 100644 --- a/docs/classes/PrimitiveArrayClaim.html +++ b/docs/classes/PrimitiveArrayClaim.html @@ -1,3 +1,3 @@ -PrimitiveArrayClaim | supertokens-website
Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PrimitiveArrayClaim<ValueType>

Type Parameters

  • ValueType

Hierarchy

  • PrimitiveArrayClaim

Index

Constructors

  • new PrimitiveArrayClaim<ValueType>(config: PrimitiveArrayClaimConfig): PrimitiveArrayClaim<ValueType>

Properties

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

Type declaration

validators: { excludes: ((val: ValueType, maxAgeInSeconds?: undefined | number, id?: string) => SessionClaimValidator); excludesAll: ((val: ValueType[], maxAgeInSeconds?: undefined | number, id?: string) => SessionClaimValidator); includes: ((val: ValueType, maxAgeInSeconds?: undefined | number, id?: string) => SessionClaimValidator); includesAll: ((val: ValueType[], maxAgeInSeconds?: undefined | number, id?: string) => SessionClaimValidator); includesAny: ((val: ValueType[], maxAgeInSeconds?: undefined | number, id?: string) => SessionClaimValidator) } = ...

Type declaration

Methods

  • getLastFetchedTime(payload: any, _userContext?: any): undefined | number
  • getValueFromPayload(payload: any, _userContext?: any): ValueType[]

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/classes/PrimitiveClaim.html b/docs/classes/PrimitiveClaim.html index 80089e86..71c77a51 100644 --- a/docs/classes/PrimitiveClaim.html +++ b/docs/classes/PrimitiveClaim.html @@ -1,3 +1,3 @@ -PrimitiveClaim | supertokens-website
Options
All
  • Public
  • Public/Protected
  • All
Menu

Class PrimitiveClaim<ValueType>

Type Parameters

  • ValueType

Hierarchy

Index

Constructors

  • new PrimitiveClaim<ValueType>(config: PrimitiveClaimConfig): PrimitiveClaim<ValueType>

Properties

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

Type declaration

validators: { hasValue: ((val: ValueType, maxAgeInSeconds?: undefined | number, id?: string) => SessionClaimValidator) } = ...

Type declaration

Methods

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

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/classes/SessionClaimValidator.html b/docs/classes/SessionClaimValidator.html index db306860..cc378d4f 100644 --- a/docs/classes/SessionClaimValidator.html +++ b/docs/classes/SessionClaimValidator.html @@ -1,8 +1,8 @@ -SessionClaimValidator | supertokens-website
Options
All
  • Public
  • Public/Protected
  • All
Menu

Class SessionClaimValidator Abstract

Hierarchy

  • SessionClaimValidator

Index

Constructors

Properties

Methods

Constructors

Properties

id: string

Methods

  • refresh(userContext: any): Promise<void>