This is a preview of unreleased docs from main. View the published docs
Skip to main content

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​

PropertyTypeDescriptionDefined in
audstring-types.ts:1410
audience_memberOmit<AudienceMember, "meta">-types.ts:1442
authenticatedbooleanWhether the session has been fully authenticated (not just identified).types.ts:1418
expnumberExpiry timestamp (Unix seconds).types.ts:1414
iatnumberIssued-at timestamp (Unix seconds).types.ts:1412
issstring-types.ts:1409
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:1433
partner_affiliation.favicon_url?string-types.ts:1440
partner_affiliation.idstring-types.ts:1434
partner_affiliation.logo_background_color?string-types.ts:1437
partner_affiliation.logo_url?string-types.ts:1436
partner_affiliation.namestring-types.ts:1435
partner_affiliation.primary_image_alt?string-types.ts:1439
partner_affiliation.primary_image_url?string-types.ts:1438
productsstring[]Slugs of products the user has an active entitlement to.types.ts:1424
sessionobject-types.ts:1419
session.authenticated_atstring | null-types.ts:1421
session.idstring-types.ts:1420
substringAudience Member ID.types.ts:1416