Authenticating Users
Use HyphenAuthenticate to sign in users
Integrate Hyphen Authenticate
Implementation HyphenAuthenticateDelegate
HyphenAuthenticateDelegate class YourActivity: AppCompatActivity, HyphenAuthenticateDelegate {
// HyphenAuthenticateDelegate
override var hyphenAuthenticateActivityResultLauncher: ActivityResultLauncher<Intent> =
(this as ComponentActivity).registerForActivityResult(ActivityResultContracts.StartActivityForResult()) {
hyphenActivityResultCallback?.invoke(it)
}
// IMPORTANT: you must set null this value.
override var hyphenActivityResultCallback: ((ActivityResult) -> Unit)? = null
}Authenticate with Google Account
Get Hyphen Account
Last updated
Was this helpful?