Skip to content

findVerifiedConnection

findVerifiedConnection(connections, type): DiscordConnection | undefined

Defined in: oauth/oauth.ts:114

The verified connection of one service, or undefined. Unverified ones are ignored: anyone can type a GitHub name into their profile, and only a verified link proves they own it. When a member has several of the service, the first verified one wins.

readonly DiscordConnection[]

string

DiscordConnection | undefined