abstract class Internal : AuthenticationMethod
Base class for authentication methods that manage users of a Webcom internal identity provider.
Webcom internal identity providers authenticate users based on a unique identifier (email or MSISDN) and a password, which may be:
This class provides with common operations to manage user profile data.
open class MessageDetails
Represents messages sent to the user such as a one-time password or a code to reset her·his personal password. |
|
enum class Provider
List of all available Webcom internal identity providers. |
fun clearProfile(callback: WebcomDoneCallback? = null): Unit
Clears the profile data of the currently authenticated user stored by the Webcom authentication service. This operation is asynchronous and calls the given callback once performed. |
|
fun setProfile(value: Any?, callback: WebcomDoneCallback? = null): Unit
Sets the value of the profile data of the currently authenticated user stored by the Webcom authentication service. This operation is asynchronous and calls the given callback once performed. |
|
fun updateProfile(path: String, value: Any?, callback: WebcomDoneCallback? = null): Unit
Updates the value of the profile data of the currently authenticated user stored by the Webcom authentication service at a given path. This operation is asynchronous and calls the given callback once performed. |
class OneTimePasswordMethod : AuthenticationMethod.Internal
Manages users of a given identity provider that authenticates users based on their identifier and a generated one-time password sent to them. |
|
class PersonalPasswordMethod : AuthenticationMethod.Internal
Manages users of a given identity provider that authenticates users based on their identifier and a personal password they can set or update. |