Ingram.Marketplace.Auth (Ingram Marketplace API v1.4.6) View Source
Keeps the required bearer token around and refreshes it when required.
Link to this section Summary
Functions
Returns a specification to start this module under a supervisor.
Starts the Auth-Agent.
Starts the Auth-Agent.
Returns the bearer token or fetches a new one if required.
Link to this section Functions
Returns a specification to start this module under a supervisor.
See Supervisor
.
Specs
Starts the Auth-Agent.
Specs
Starts the Auth-Agent.
Specs
token() :: String.t()
Returns the bearer token or fetches a new one if required.