getOAuth2Method

fun getOAuth2Method(    provider: OAuth2Method.Provider,     context: Context,     options: OAuth2Method.Options = OAuth2Method.Options()): 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), using given options.