Appearance
Documentation / react-auth / UseOAuthTokens
Type alias: UseOAuthTokens ​
UseOAuthTokens:
Object
Type declaration ​
reauthorize ​
reauthorize: (
{provider}
) =>Promise
<void
>
For users who are authenticated, prompts the user to reauthorize an OAuth account of the specified type. This will directly initiate the OAuth flow for an already linked OAuth account.
Parameters ​
• {provider}: Object
• {provider}.provider: OAuthProviderType
Returns ​
Promise
<void
>