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

OAuth2Method

class OAuth2Method : AuthenticationMethod

Types

Provider

sealed class Provider

Properties

context

val context: Context

provider

val provider: OAuth2Method.Provider

Inherited Properties

application

val application: WebcomApplication

Functions

authenticate

fun authenticate(context: AuthenticationService.Context = AuthenticationService.Context.New, callback: WebcomResultCallback<AuthenticationDetails>? = null): Unit

Inherited Functions

syncAuthentication

fun <T> syncAuthentication(context: AuthenticationService.Context, callback: WebcomResultCallback<T>?, block: (WebcomResultCallback<T>) -> Unit): Boolean