Authenticating Users
In Flutter, Hyphen Authentication functionalities are provided by the authenticate
module of the SDK. This module enables users to perform various authentication tasks such as signing in, creating an account, and retrieving the user's key and account information.
Integrate Hyphen Authenticate
The HyphenAuthenticate
class provides functionalities for authentication using the Hyphen SDK.
getAccount
: Retrieves the user's account information.authenticate
: Initiates the authentication process with the providedwebClientId
.
Authenticate with Google Account
Currently, Hyphen SDK only supports authentication via Google Account.
You must use the Web Client ID on the Google Cloud Platform for Google Authentication. See also Get your Google API client ID.
Once authenticated successfully, you can get your HyphenAccount and retrieve information such as the account address.
Last updated
Was this helpful?