setupBiometric

abstract fun setupBiometric(activity: FragmentActivity): Completable

Prompts the user for biometric confirmation and, on success, saves the biometric token for future use

Throws

if trying to request a AccessToken before user has logged in, or after any case where the token has been cleared

if the device does not have biometric authentication enrolled

if the user cancels the biometric prompt

if the setup flow encounters an unrecoverable error and authentication has stopped, contains a message with the error

HttpException

if the network request fails

if the network request times out (in case of no or slow network)