OAuthApi

interface OAuthApi

Generate and manage OAuth tokens.

See also

Functions

Link copied to clipboard
abstract suspend fun getToken(params: TokenGet): Token

Returns an access token, to be used during API calls that are not public.

Link copied to clipboard
abstract suspend fun revokeToken(params: TokenRevoke)

Revoke an access token to make it no longer valid for use.