Skip to content
mercury framework
GitHub

ChannelLinking

ChannelLinking = object

Defined in: types/channel-types/index.ts:386

Linking another account to a person, for a channel that can show them a code without the model in between (the HTTP surface): start hands the person principal is a one-time code. They send it from the other account, on any channel, where confirm takes it like a token.

start: (principal) => Promise<LinkStart>

Defined in: types/channel-types/index.ts:386

Principal

Promise<LinkStart>