LoginCallback
This API is in beta and subject to change.
Interface that the application implements to receive the result of login.
Methods
onSuccess
fun onSuccess(displayName: String
, 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:
OptionalParameters to log in via access token
Returns
type:
Unit
onFailure
fun onFailure(loginError: ): Unit
This API is in beta and subject to change.
Report that the login process failed.
Parameters
loginError:
Failure reason
Returns
type:
Unit