Webcom Android SDK Public API Reference / com.orange.webcom.sdkv2.authentication.methods / PersonalPasswordMethod / authenticate

authenticate

@JvmOverloads fun authenticate(password: String, context: AuthenticationService.Context = Context.New, callback: WebcomResultCallback<AuthenticationDetails>? = null): Unit

Authenticates the user with her·his personal password. This operation is asynchronous and calls the given callback with the authentication result once performed.

In order to perform a multi-factor authentication, context must be set to Context.Current and the user to authenticate must already be authenticated with an other method (or factor).