Rate this page:

LoginCallback

This API is in beta and subject to change.

Interface that the application implements to receive the result of login.

Methods

onSuccess

Copy URL
fun onSuccess(displayName: 

String

,
authParams:

AuthParams?

):

Unit

This API is in beta and subject to change.

Reports that the login process finished successfully.

Parameters

  • displayName:

    String

    Display name of the logged in user

  • authParams:

    AuthParams?

    Optional

    Parameters to log in via access token

Returns

  • type:

    Unit

onFailure

Copy URL
fun onFailure(loginError: 

LoginError

):

Unit

This API is in beta and subject to change.

Report that the login process failed.

Parameters

Returns

  • type:

    Unit