Back to Pocketbase

Interface MapClaims

static/jsvm/interfaces/jwt.MapClaims.html

latest1.9 KB
Original Source

Interface MapClaims

MapClaims is a claims type that uses the map[string]any for JSON decoding. This is the default claims type if you don't supply one

Hierarchy

Index

Methods

getAudiencegetExpirationTimegetIssuedAtgetIssuergetNotBeforegetSubject

Methods

getAudience

GetAudience implements the Claims interface.

Returns ClaimStrings

getExpirationTime

GetExpirationTime implements the Claims interface.

Returns NumericDate

getIssuedAt

GetIssuedAt implements the Claims interface.

Returns NumericDate

getIssuer

  • getIssuer(): string

GetIssuer implements the Claims interface.

Returns string

getNotBefore

GetNotBefore implements the Claims interface.

Returns NumericDate

getSubject

  • getSubject(): string

GetSubject implements the Claims interface.

Returns string

Settings

Member Visibility

  • Inherited

Theme

OSLightDark

On This Page

Generated using TypeDoc