Skip to main content

Type Alias: MemberJwtPayload

MemberJwtPayload = object

Defined in: types.ts:1004

Decoded payload of the Allegro session JWT.

Read via MemberNamespace.sessionFromJwt — no network request required.

Indexable

[key: string]: unknown

Properties

PropertyTypeDescriptionDefined in
audstring-types.ts:1006
audience_memberOmit<AudienceMember, "meta">-types.ts:1030
authenticatedbooleanWhether the session has been fully authenticated (not just identified).types.ts:1014
expnumberExpiry timestamp (Unix seconds).types.ts:1010
iatnumberIssued-at timestamp (Unix seconds).types.ts:1008
issstring-types.ts:1005
partner_affiliation?objectThe partner organization this member belongs to. Present only for a member with an active partner affiliate entitlement and an organization on record.types.ts:1026
partner_affiliation.idstring-types.ts:1027
partner_affiliation.namestring-types.ts:1028
productsstring[]Slugs of products the user has an active entitlement to.types.ts:1020
sessionobject-types.ts:1015
session.authenticated_atstring | null-types.ts:1017
session.idstring-types.ts:1016
substringAudience Member ID.types.ts:1012