Skip to main content

Authentication

These APIs cover user session management for tenant-integrated applications: exchanging a trusted JWT for a Fabric user access token (CSAT), refreshing that token without re-login, and managing user access wallets.


Quick Start: Auth Flow​

The resulting CSAT is the user's bearer token for playout and other calls made on the user's behalf. Entitlement calls (/tnt/:tid/entitlement/...) are server-side administrative calls and use a tenant admin token instead, never the user's CSAT.


APIs​

Generate User Access Token​

Exchanges a trusted JWT for a Fabric CSAT (Client Signed Access Token).

  • Resolves the user's wallet address
  • Returns a refresh_token for session renewal
  • Enforces per-tenant token concurrency limits

Refresh Token​

Obtains a new CSAT from an existing refresh token, without requiring the user to re-authenticate.

Create User Access Wallet​

Provisions an on-chain access wallet for a user and adds them to the tenant's user group. Required before entitlement operations can be performed for a user.

Get User Info​

Returns the caller's wallet address, access wallet status, tenant group membership, and admin role flags.