EphemeralKeyProvider

fun interface EphemeralKeyProvider

Represents an object that can call to a server and create EphemeralKeys.

Functions

Link copied to clipboard
abstract fun createEphemeralKey(@Size(min = 4) apiVersion: String, keyUpdateListener: EphemeralKeyUpdateListener)

When called, talks to a client server that then communicates with Stripe's servers to create an EphemeralKey.