IapSignIn

data class IapSignIn

Provides data required for prompting a user for an IapCredential. Once a user has completed a sign-in prompt, the IAP sign in is completed by calling complete or cancel depending on the result of the sign-in prompt.

Since

200.8.0

See also

Properties

Link copied to clipboard

the URL used to launch an IAP sign in page in a browser

Link copied to clipboard

the IapConfiguration associated with this IAP sign in

Functions

Link copied to clipboard
fun cancel(exception: Exception? = null)

Cancels the IAP sign-in process. This method should be called if the user cancels the sign-in process.

Link copied to clipboard
fun complete(redirectUri: String)

Completes a IAP sign-in with a redirect URI obtained from an IAP prompt. The redirect URI must contain the IAP authorization code. If the sign-in process fails to obtain a valid redirect URI, call cancel instead.