Interface

CryptrTokenClaims

CryptrTokenClaims

Decoded claims from a token (ID/Access)

Properties:
Name Type Description
iat number

Unix timestamp of Token issued at

aud string

Audience of the React app that generetaed this token

cid string

Client ID of the React app that generetaed this token

dbs string

Database/environment of the app/user

iss string

Cryptr service that issued the token

scp Array.<string>

Authorized scopes while using this token

tnt string

Organization's domain that user belongs to.

sub string

Cryptr User's unique identifier

exp number

Unix timestamp for the expiration date for this token

jti number

JSON web Token unique Identifier

ver number

Current version of Cryptr token

jtt number

JSON web Token type. ex openid

resource_owner_metadata MetaDatas

Array of key/pair of data identifying the user (populated for exemple by SSO)

application_metadata MetaDatas

Array of key/pair of data related to the application

View Source utils/cryptr.interfaces.tsx, line 50