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

AuthenticationService

class AuthenticationService : WebcomService

Types

Context

enum class Context

Properties

authenticationDetails

var authenticationDetails: AuthenticationDetails?

Functions

clear

fun clear(): Unit

getGuestMethod

fun getGuestMethod(): GuestMethod

getOAuth2Method

fun getOAuth2Method(provider: OAuth2Method.Provider, context: Context): OAuth2Method

getOneTimePasswordMethod

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

getPersonalPasswordMethod

fun getPersonalPasswordMethod(provider: AuthenticationMethod.Internal.Provider, identifier: String): PersonalPasswordMethod

removeAccount

fun removeAccount(callback: WebcomDoneCallback? = null): Unit

subscribe

fun subscribe(callback: (AuthenticationEvent) -> Unit): AuthenticationSubscription

unauthenticate

fun unauthenticate(callback: WebcomDoneCallback? = null): Unit

unsubscribe

fun unsubscribe(subscription: AuthenticationSubscription): Unit

unsubscribeFromAll

fun unsubscribeFromAll(): Unit