showBiometricPrompt
Show the Biometric prompt
Async function that shows the Biometric Prompt and returns the result as a Boolean indicating whether authentication was successful, or raises/throws an Exception, such as IllegalStateException, if an error prevented the Biometric Prompt from showing.
Return
a Boolean indicating whether biometric authentication was successful.
Parameters
the FragmentActivity hosting the authentication prompt.
the title for the authentication prompt.
the subtitle for the authentication prompt.
a crypto object to be associated with this authentication.
the set of allowed user authentication types, must contain at least one element.
option to require explicit user confirmation after a passive biometric.
Throws
if there were errors showing the prompt.
Prompts user for authentication, and calls the provided functions when authentication is complete. Biometric authentication will be offered first if both UserAuthenticationType.LSKF and UserAuthenticationType.BIOMETRIC are allowed.
Parameters
the FragmentActivity hosting the authentication prompt
the title for the authentication prompt
the subtitle for the authentication prompt
a crypto object to be associated with this authentication
the set of allowed user authentication types, must contain at least one element
option to require explicit user confirmation after a passive biometric
the function which will be called when the user successfully authenticates
the function which will be called when the user cancels
the function which will be called when there is an unexpected error in the user authentication process - a throwable will be passed into this function