accountFromToken
function accountFromToken(token, ...claims): string | undefined;Defined in: core/src/auth/oauth.ts:230
The account a token names, trying the claims in order. An email wins and is lowercased, because one mailbox written two ways is one account.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
token |
string | undefined |
…claims |
string[] |
Returns
Section titled “Returns”string | undefined