OpenRoadCode
Public API reference for OpenRoadCode
Loading...
Searching...
No Matches
oauth.oauth_token_store_if.OAuthTokenStoreIf Class Reference

Interface for loading and storing OAuth tokens. More...

Public Member Functions

OAuthTokens|None load (self)
 Load stored OAuth tokens.
None save (self, OAuthTokens tokens)
 Store OAuth tokens.
None clear (self)
 Remove stored OAuth tokens.

Detailed Description

Interface for loading and storing OAuth tokens.

Member Function Documentation

◆ load()

OAuthTokens | None oauth.oauth_token_store_if.OAuthTokenStoreIf.load ( self)

Load stored OAuth tokens.

Returns
Stored tokens, or None when no token record exists.

◆ save()

None oauth.oauth_token_store_if.OAuthTokenStoreIf.save ( self,
OAuthTokens tokens )

Store OAuth tokens.

Parameters
tokensAccess and refresh tokens to persist.

The documentation for this class was generated from the following file:
  • protocols/oauth/oauth_token_store_if.py