Type Alias: MemberJwtPayload
MemberJwtPayload =
object
Defined in: types.ts:1408
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:1410 |
audience_member | Omit<AudienceMember, "meta"> | - | types.ts:1442 |
authenticated | boolean | Whether the session has been fully authenticated (not just identified). | types.ts:1418 |
exp | number | Expiry timestamp (Unix seconds). | types.ts:1414 |
iat | number | Issued-at timestamp (Unix seconds). | types.ts:1412 |
iss | string | - | types.ts:1409 |
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. Each branding key is present only when the organization has that value on record. Image paths are resolved to absolute URLs. | types.ts:1433 |
partner_affiliation.favicon_url? | string | - | types.ts:1440 |
partner_affiliation.id | string | - | types.ts:1434 |
partner_affiliation.logo_background_color? | string | - | types.ts:1437 |
partner_affiliation.logo_url? | string | - | types.ts:1436 |
partner_affiliation.name | string | - | types.ts:1435 |
partner_affiliation.primary_image_alt? | string | - | types.ts:1439 |
partner_affiliation.primary_image_url? | string | - | types.ts:1438 |
products | string[] | Slugs of products the user has an active entitlement to. | types.ts:1424 |
session | object | - | types.ts:1419 |
session.authenticated_at | string | null | - | types.ts:1421 |
session.id | string | - | types.ts:1420 |
sub | string | Audience Member ID. | types.ts:1416 |