Interface: RelayAuthorizeContext
@roomful/relay / RelayAuthorizeContext
Interface: RelayAuthorizeContext
Section titled “Interface: RelayAuthorizeContext”Defined in: packages/relay/src/server.ts:131
Describes an authorization request passed to authorize.
Properties
Section titled “Properties”peerId
Section titled “peerId”peerId:
string
Defined in: packages/relay/src/server.ts:140
Identifies the joining peer.
request
Section titled “request”request:
IncomingMessage
Defined in: packages/relay/src/server.ts:150
Exposes the incoming HTTP upgrade or polling request.
roomId
Section titled “roomId”roomId:
string
Defined in: packages/relay/src/server.ts:135
Identifies the requested room.
token?
Section titled “token?”
optionaltoken:string
Defined in: packages/relay/src/server.ts:145
Exposes the resolved bearer token when present.