Interface: RoomfulTokenAuthorizeResult
@roomful/next / RoomfulTokenAuthorizeResult
Interface: RoomfulTokenAuthorizeResult
Section titled “Interface: RoomfulTokenAuthorizeResult”Defined in: packages/next/src/index.ts:48
Describes the parameters RoomfulTokenRouteOptions.authorize may resolve to.
Properties
Section titled “Properties”claims?
Section titled “claims?”
optionalclaims:Record<string,unknown>
Defined in: packages/next/src/index.ts:62
Merges additional claims into the JWT payload.
expiresInSeconds?
Section titled “expiresInSeconds?”
optionalexpiresInSeconds:number
Defined in: packages/next/src/index.ts:67
Overrides the token lifetime in seconds for this request.
roomId?
Section titled “roomId?”
optionalroomId:string
Defined in: packages/next/src/index.ts:57
Sets the roomId claim scoping the token to a room.
subject?
Section titled “subject?”
optionalsubject:string
Defined in: packages/next/src/index.ts:52
Sets the sub claim identifying the token subject.