DocuSign.APIClient (DocuSign v0.3.3) View Source
GenServer to store API client and refresh access token by schedule.
Link to this section Summary
Functions
Returns a specification to start this module under a supervisor.
Get Api Client
Sync refreshes a token.
Async refreshes a token.
Callback implementation for GenServer.init/1
.
Forces an access token refresh.
Link to this section Functions
Returns a specification to start this module under a supervisor.
See Supervisor
.
Specs
client() :: OAuth2.Client.t()
Get Api Client
Sync refreshes a token.
Async refreshes a token.
Callback implementation for GenServer.init/1
.
Specs
refresh_token() :: OAuth2.Client.t()
Forces an access token refresh.