CognitoAuthUI

class CognitoAuthUI(val config: JSONObject, val context: Context) : AuthUI

AuthUI implementation that uses Cognito Auth UI.

Parameters

config

configuration parameters.

context

Android app context.

Constructors

Link copied to clipboard
constructor(config: JSONObject, context: Context)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun presentFederatedSignInUI(activity: Activity, callback: (FederatedSignInResult) -> Unit)

Presents the sign in UI for federated sign in using an external identity provider.

Link copied to clipboard
open override fun presentFederatedSignOutUI(callback: (ApiResult) -> Unit)

Presents the sign out UI for federated sign in using an external identity provider.

Link copied to clipboard
open override fun processFederatedSignInTokens(data: Uri, callback: (FederatedSignInResult) -> Unit)

Processes tokens from federated sign in via Android intent data pointed to by the specified URL. The tokens are passed to the app via a redirect URL with custom scheme mapped to the app.

Link copied to clipboard
open override fun reset()

Resets any internal state.