Venly Widget
Home
Pricing
Your Wallet
Search…
Venly Widget
👋
Introduction
📦
Web3 Provider
Getting Started
Power of the Widget
Switching Networks
📦
Widget
Getting started
Initializing the widget
Retrieve user profile
Retrieve user wallets
Retrieve wallet balance
Retrieve a user account
Retrieve token balance
Retrieve non-fungible tokens
Transfer a native token
Transfer a fungible token
Transfer a non-fungible token
Execute transaction
Sign a message
Sign an EIP712 message
Call a contract
⚙️ Widget Advanced
Initializing options
Function Reference
addOnTokenRefreshCallback
authenticate
checkAuthenticated
createSigner
executeContract
executeGasTransfer
executeNftTransfer
executeTokenAssociation
executeTokenTransfer
executeTransfer
getAccount
getAllNonFungibles
getBalance
getBalanceByAddress
getNonfungibles
getNonfungiblesByAddress
getProfile
getTokenBalance
getTokenBalanceByAddress
getTokenBalances
getTokenBalancesByAddress
getTransactionStatus
getWallet
getWallets
importWallet
linkWallets
logout
manageWallets
readContract
unlink
signEip712
signMessage
Object Reference
🌊
Deep Dive
Authentication
Chain specific fields
Environments & networks
Powered By
GitBook
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 the
AuthenticationResult
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
AuthenticationOptions
False
Provide extra auth options
Example
1
// Redirect to https://wallet.venly.io
2
venlyConnect
.
checkAuthenticated
({
redirectUri
:
'https://wallet.venly.io'
});
Copied!
Object Types
AuthenticationOptions
AuthenticationResult
KeycloakInstance
Previous
authenticate
Next
createSigner
Last modified
8mo ago
Copy link
Contents
Signature
Returns
Parameters
Example
Object Types