PaymentAuthenticator

A class to authenticate a StripeIntent or Source.

Functions

Link copied to clipboard
abstract suspend fun authenticate(    host: AuthActivityStarterHost,     authenticatable: Authenticatable,     requestOptions: ApiRequest.Options)

Authenticates a StripeIntent or Source.

Link copied to clipboard
open fun onLauncherInvalidated()

Notify the ActivityResultLaunchers are invalid. This happens when the host Activity is destroyed.

Link copied to clipboard
open fun onNewActivityResultCaller(activityResultCaller: ActivityResultCaller, activityResultCallback: ActivityResultCallback<PaymentFlowResult.Unvalidated>)

Notify the PaymentAuthenticator that a new ActivityResultCaller and ActivityResultCallback is available. This happens when the host Activity is recreated and its ActivityResultLauncher needs to be re-registered.