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

getOAuth2Method

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

Creates an instance of OAuth2Method to perform an OAuth2 authentication with a given provider from a given Android context (typically the Activity from which the authentication call-flow is to be started).