Ebay. Auth
(ElixirBay v0.1.0)
Copy Markdown
Helpers for building OAuth authorization URLs and exchanging or refreshing tokens.
These helpers intentionally return plain data structures rather than persisting any state, which keeps the SDK stateless and easy to integrate in Phoenix, GenServer, or background job flows.
Summary
Functions
@spec authorization_url(Ebay.Client.t(), [String.t()]) :: String.t()
@spec exchange_code(Ebay.Client.t(), String.t()) :: {:ok, Ebay.Auth.Token.t()}
@spec refresh(Ebay.Client.t(), String.t()) :: {:ok, Ebay.Auth.Token.t()}