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
| Property | Type | Description | Defined in |
|---|---|---|---|
aud | string | - | types.ts:1006 |
audience_member | Omit<AudienceMember, "meta"> | - | types.ts:1030 |
authenticated | boolean | Whether the session has been fully authenticated (not just identified). | types.ts:1014 |
exp | number | Expiry timestamp (Unix seconds). | types.ts:1010 |
iat | number | Issued-at timestamp (Unix seconds). | types.ts:1008 |
iss | string | - | types.ts:1005 |
partner_affiliation? | object | The 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.id | string | - | types.ts:1027 |
partner_affiliation.name | string | - | types.ts:1028 |
products | string[] | Slugs of products the user has an active entitlement to. | types.ts:1020 |
session | object | - | types.ts:1015 |
session.authenticated_at | string | null | - | types.ts:1017 |
session.id | string | - | types.ts:1016 |
sub | string | Audience Member ID. | types.ts:1012 |