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.
1
venlyConnect.checkAuthenticated();
Copied!
If you set the redirectUri option, make sure that the SDK and theAuthenticationResult handling is also present on the page you redirect to.

Signature

1
venlyConnect.checkAuthenticated(options?: AuthenticationOptions): Promise
Copied!

Returns

1
Promise<AuthenticationResult>
Copied!

Parameters

Parameter
Type
Required
Description
options
False
Provide extra auth options

Example

1
// Redirect to https://wallet.venly.io
2
venlyConnect.checkAuthenticated({ redirectUri: 'https://wallet.venly.io' });
Copied!

Object Types

​
​
Last modified 2mo ago