This function call will check if the user is authenticated and redirect the user to options.redirectUri
(if present) with the result.
arkaneConnect.checkAuthenticated();
If you set the redirectUri
option, make sure that the SDK and theAuthenticationResult
handling is also present on the page you redirect to.
arkaneConnect.checkAuthenticated(options?: AuthenticationOptions): Promise
Promise<AuthenticationResult>
Parameter | Type | Required | Description |
|
| Provide extra auth options |
// Redirect to https://arkane.networkarkaneConnect.checkAuthenticated({ redirectUri: 'https://arkane.network' });