Skip to main content

Type Alias: MemberJwtPayload

MemberJwtPayload = object

Defined in: types.ts:1466

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:1468
audience_memberOmit<AudienceMember, "meta">-types.ts:1500
authenticatedbooleanWhether the session has been fully authenticated (not just identified).types.ts:1476
expnumberExpiry timestamp (Unix seconds).types.ts:1472
iatnumberIssued-at timestamp (Unix seconds).types.ts:1470
issstring-types.ts:1467
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. Each branding key is present only when the organization has that value on record. Image paths are resolved to absolute URLs.types.ts:1491
partner_affiliation.favicon_url?string-types.ts:1498
partner_affiliation.idstring-types.ts:1492
partner_affiliation.logo_background_color?string-types.ts:1495
partner_affiliation.logo_url?string-types.ts:1494
partner_affiliation.namestring-types.ts:1493
partner_affiliation.primary_image_alt?string-types.ts:1497
partner_affiliation.primary_image_url?string-types.ts:1496
productsstring[]Slugs of products the user has an active entitlement to.types.ts:1482
sessionobject-types.ts:1477
session.authenticated_atstring | null-types.ts:1479
session.idstring-types.ts:1478
substringAudience Member ID.types.ts:1474