Builder

class Builder

The Builder class is used to construct an instance of the StytchUI class

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard

Sets the hosting activity that the Stytch UI activity will report results back to

Link copied to clipboard

Builds an instance of the StytchUI class

Link copied to clipboard
fun onAuthenticated(onAuthenticated: (StytchResult<*>) -> Unit): StytchUI.Builder

Sets the handler that will be notified of authenticate results

Link copied to clipboard

Sets the product configuration, including which products are supported and their associated configurations

Link copied to clipboard

Sets the styles used by the UI. This is optional, and if not provided, default Stytch Styles will be applied, providing both dark and light themes