Skip to main content
Version: 2.0

Android

How to start auth flow

To start the authentication flow, you need to register a callback in your activity or fragment. This callback will be called when the authentication flow is completed.

HumaAuthKitManager.getInstance().registerAuthResult(activity)

Then call the openAuthUI method to start the authentication flow.

HumaAuthKitManager.getInstance().openAuthUI { status: Boolean ->
if (status) {
// Authentication was successful
} else {
// Authentication failed
}
}