Skip to main content

Interface: RltClaims

Defined in: claims.ts:15

Indexable

[claim: string]: unknown

Unknown top-level claims are ignored and preserved for forward compatibility (docs/15 §4.1 step 5) — a newer license service may mint claims an older SDK has not learned yet.

Properties

apps

apps: string[];

Defined in: claims.ts:24

Web origins (wildcard subdomains) and RN bundle IDs. Empty = any app.


enforcement?

optional enforcement?: "soft" | "hard";

Defined in: claims.ts:36

Default soft.


exp

exp: number;

Defined in: claims.ts:32

NumericDate, seconds — token validity end, not the subscription end.


features

features: string[];

Defined in: claims.ts:22

Package/feature flags (docs/15 §4.4). "*" = everything.


grace

grace: number;

Defined in: claims.ts:34

Days after exp in which the SDK stays fully functional. 0–366.


iat

iat: number;

Defined in: claims.ts:28

NumericDate, seconds.


iss

iss: "rasd";

Defined in: claims.ts:16


jti

jti: string;

Defined in: claims.ts:38

Unique token id (rlt_ + UUID v7 Crockford base32).


nbf

nbf: number;

Defined in: claims.ts:30

NumericDate, seconds.


plan

plan: RltPlan;

Defined in: claims.ts:20

Drives dashboards and console messages only; gating uses features.


seats?

optional seats?: number;

Defined in: claims.ts:26

Soft, informational; never enforced.


sub

sub: string;

Defined in: claims.ts:18

Organisation id (org_ + UUID v7 base32). Never an email.