accept

fun accept(@NonNull listener: FRAListener<Void>)

Accepts the push authentication request. Use this method to approve notification of type PushType.DEFAULT.

Parameters

listener

Listener for receiving the authentication result.


fun accept(@NonNull challengeResponse: String, @NonNull listener: FRAListener<Void>)

Accepts the push notification request with the challenge response. Use this method to handle notification of type PushType.CHALLENGE.

Parameters

challengeResponse

the response for the Push Challenge

listener

Listener for receiving the authentication result.


fun accept(title: String, subtitle: String, allowDeviceCredentials: Boolean, @NonNull activity: FragmentActivity, @NonNull listener: FRAListener<Void>)

Accepts the push notification request with Biometric Authentication. Use this method to handle notification of type PushType.BIOMETRIC.

Parameters

title

the title to be displayed on the prompt.

subtitle

the subtitle to be displayed on the prompt.

allowDeviceCredentials

if true, accepts device PIN, pattern, or password to process notification.

activity

the activity of the client application that will host the prompt.

listener

listener for receiving the push authentication result.