DocuSign.OAuth behaviour (DocuSign v0.4.2) View Source
This module defines the behaviour of the OAuth adapter.
Link to this section Summary
Callbacks
Create new API client
Returns a map of user information (docusign-specific)
Retrieve access token and return a client
Retrieve a new time to auto refresh token.
Refresh token
Check expiration of token return true if token is expired
Link to this section Types
Specs
access_token() :: OAuth2.AccessToken.t()
Specs
client() :: OAuth2.Client.t()
Specs
error() :: OAuth2.Error.t()
Specs
force() :: boolean()
Specs
Specs
Specs
Link to this section Callbacks
Specs
client() :: client()
Create new API client
Specs
Specs
Returns a map of user information (docusign-specific)
Specs
Retrieve access token and return a client
Specs
Specs
Specs
Specs
Retrieve a new time to auto refresh token.
Specs
Refresh token
Specs
Specs
token_expired?(access_token() | nil | client()) :: boolean()
Check expiration of token return true if token is expired