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