useNativeLogin

fun useNativeLogin(consumerKey: String, callbackUrl: String, communityUrl: String, reCaptchaSiteKeyId: String? = null, googleCloudProjectId: String? = null, isReCaptchaEnterprise: Boolean = false): NativeLoginManager

Creates a NativeLoginManager instance that allows the app to use its own native UI for authentication.

Return

The Native Login Manager.

Parameters

consumerKey

The Connected App consumer key.

callbackUrl

The Connected App redirect URI.

communityUrl

The login url for native login.

reCaptchaSiteKeyId

The Google Cloud project reCAPTCHA Key's "Id" as shown in Google Cloud Console under "Products & Solutions", "Security" and "reCAPTCHA Enterprise"

googleCloudProjectId

The Google Cloud project's "Id" as shown in Google Cloud Console

isReCaptchaEnterprise

Specifies if reCAPTCHA uses the enterprise license