Skip to content

Documentation / expo / useOAuthTokens

Function: useOAuthTokens() ​

useOAuthTokens(opts): void

Attach a callback for when OAuth tokens are granted to the user after any OAuth Authorization flow.

Ensure that this callback is mounted whenever your user undergoes a successful OAuth authorization flow.

Parameters ​

• opts: UseOAuthTokensOptions

Returns ​

void