getOauthTokenForExternalApi

open fun getOauthTokenForExternalApi(@NonNull context: Context, @Nullable callback: STWOauthTokenCallback<OauthTokenError>)

Gets an oauth token useful to connect to an external API

Parameters

context

Context: The application context

callback

STWOauthTokenCallback: to handle the request result