Skip to content

Interface: RoomfulTokenAuthorizeResult

@roomful/next


@roomful/next / RoomfulTokenAuthorizeResult

Defined in: packages/next/src/index.ts:48

Describes the parameters RoomfulTokenRouteOptions.authorize may resolve to.

optional claims: Record<string, unknown>

Defined in: packages/next/src/index.ts:62

Merges additional claims into the JWT payload.


optional expiresInSeconds: number

Defined in: packages/next/src/index.ts:67

Overrides the token lifetime in seconds for this request.


optional roomId: string

Defined in: packages/next/src/index.ts:57

Sets the roomId claim scoping the token to a room.


optional subject: string

Defined in: packages/next/src/index.ts:52

Sets the sub claim identifying the token subject.