STWOauthTokenCallback

interface STWOauthTokenCallback<T : Error?> : STWCallback<T>

This is a callback to handle events related to Oauth token request.

Parameters

<T>

Error class

Functions

Link copied to clipboard
abstract fun onSuccess(@Nullable token: String)
Called when called request succeed.

Inherited functions

Link copied to clipboard
abstract fun onError(@NonNull error: T)
Called when an error occurs following a request executed by the developer.