checkAuthenticated
Check if a user is authenticated in Venly
This function call will check if the user is authenticated and redirect the user to
options.redirectUri
(if present) with the result.venlyConnect.checkAuthenticated();
If you set the
redirectUri
option, make sure that the SDK and theAuthenticationResult
handling is also present on the page you redirect to.venlyConnect.checkAuthenticated(options?: AuthenticationOptions): Promise
Promise<AuthenticationResult>
Parameter | Type | Required | Description |
options | False | Provide extra auth options |
// Redirect to https://wallet.venly.io
venlyConnect.checkAuthenticated({ redirectUri: 'https://wallet.venly.io' });
Last modified 1yr ago