Internal

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.

Types

Link copied to clipboard
open class MessageDetails @JvmOverloads constructor(val template: String? = null, val locale: Locale? = null)

Represents messages sent to the user such as a one-time password or a code to reset her·his personal password.

Link copied to clipboard
enum Provider : Enum<AuthenticationMethod.Internal.Provider>

List of all available Webcom internal identity providers.

Functions

Link copied to clipboard
fun clearProfile(callback: WebcomDoneCallback? = null)

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.

Link copied to clipboard
fun setProfile(value: Any?, callback: WebcomDoneCallback? = null)

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.

Link copied to clipboard
fun updateProfile(    path: String,     value: Any?,     callback: WebcomDoneCallback? = null)

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.

Inheritors

Link copied to clipboard
Link copied to clipboard