Webcom Android SDK Public API Reference / com.orange.webcom.sdkv2.authentication / AuthenticationService / getOneTimePasswordMethod

getOneTimePasswordMethod

fun getOneTimePasswordMethod(provider: AuthenticationMethod.Internal.Provider, identifier: String): OneTimePasswordMethod

Creates an instance of OneTimePasswordMethod to manage users with a given identity provider that authenticates users based on a given user identifier (email or MSISDN) and a generated one-time password sent to the user.