authenticate

suspend fun authenticate(host: AuthActivityStarterHost, authenticatable: Authenticatable, requestOptions: ApiRequest.Options)

Authenticates a StripeIntent or Source.

Parameters

host

the host(Activity or Fragment) where client is calling from, used to redirect back to client

authenticatable

the StripeIntent or Source object to authenticate

requestOptions

configurations for the API request which triggers the authentication