Skip to content

PersistentAI API Documentation / @persistent-ai/fireflow-trpc / server / AppTokenPayload

Interface: AppTokenPayload

Defined in: packages/fireflow-trpc/server/oauth/app-token.ts:23

Payload of an app-scoped JWT token.

Properties

appId

appId: string

Defined in: packages/fireflow-trpc/server/oauth/app-token.ts:27

MiniApp appId — token is scoped to this app


exp

exp: number

Defined in: packages/fireflow-trpc/server/oauth/app-token.ts:33


iat

iat: number

Defined in: packages/fireflow-trpc/server/oauth/app-token.ts:32


iss

iss: "fireflow"

Defined in: packages/fireflow-trpc/server/oauth/app-token.ts:31

Issuer


scope

scope: "miniapp"

Defined in: packages/fireflow-trpc/server/oauth/app-token.ts:29

Token scope


sub

sub: string

Defined in: packages/fireflow-trpc/server/oauth/app-token.ts:25

Internal user ID

Licensed under BUSL-1.1