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

MessageDetails
Link copied to clipboard
open class MessageDetails @JvmOverloads() constructor(template: String?, locale: Locale?)
Represents messages sent to the user such as a one-time password or a code to reset her·his personal password.
Provider
Link copied to clipboard
enum Provider : Enum<AuthenticationMethod.Internal.Provider>
List of all available Webcom internal identity providers.

Functions

clearProfile
Link copied to clipboard
fun clearProfile(callback: WebcomDoneCallback? = null)
Clears the profile data of the currently authenticated user stored by the Webcom authentication service.
setProfile
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.
updateProfile
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.

Inheritors

OneTimePasswordMethod
Link copied to clipboard
PersonalPasswordMethod
Link copied to clipboard