Rate this page:

GenerateOneTimeKeyCallback

This API is in beta and subject to change.

Interface that the application implements to receive the result of a one-time key generation.

Methods

onSuccess

Copy URL
fun onSuccess(key: 

String

):

Unit

This API is in beta and subject to change.

Reports successful generation of a one-time key.

Parameters

  • key:

    String

    Generated one-time key

Returns

  • type:

    Unit

onFailure

Copy URL
fun onFailure(error: 

LoginError

):

Unit

This API is in beta and subject to change.

Reports failure generation of a one-time key.

Parameters

Returns

  • type:

    Unit