Back to Pocketbase

Interface ClaimStrings

static/jsvm/interfaces/jwt.ClaimStrings.html

latest965 B
Original Source

Interface ClaimStrings

ClaimStrings is basically just a slice of strings, but it can be either serialized from a string array or just a string. This type is necessary, since the "aud" claim can either be a single string or an array.

Hierarchy

  • Array<string>
    • ClaimStrings

Index

Methods

marshalJSONunmarshalJSON

Methods

marshalJSON

  • marshalJSON(): string | number[]

Returns string | number[]

unmarshalJSON

  • unmarshalJSON(data): void

Parameters

data: string | number[]

Returns void

Settings

Member Visibility

  • Inherited

Theme

OSLightDark

On This Page

Generated using TypeDoc