Interface FiefUserInfo

Object containing user information.

Example:

{
"sub": "aeeb8bfa-e8f4-4724-9427-c3d5af66190e",
"email": "anne@bretagne.duchy",
"tenant_id": "c91ecb7f-359c-4244-8385-51ecd6c0d06b",
"fields": {
"first_name": "Anne",
"last_name": "De Bretagne"
}
}
interface FiefUserInfo {
    aud?: string | string[];
    email: string;
    exp?: number;
    fields: Record<string, any>;
    iat?: number;
    iss?: string;
    jti?: string;
    nbf?: number;
    sub: string;
    tenant_id: string;
}

Hierarchy

  • JWTPayload
    • FiefUserInfo

Properties

aud?: string | string[]

JWT Audience

email: string

Email address of the user.

exp?: number

JWT Expiration Time

fields: Record<string, any>

User fields values for this user, indexed by their slug.

iat?: number

JWT Issued At

iss?: string

JWT Issuer

jti?: string

JWT ID

nbf?: number

JWT Not Before

sub: string

ID of the user.

tenant_id: string

ID of the tenant associated to the user.