View Source Dwolla.Token (dwolla v1.0.1)

Functions for Dwolla OAuth 2 endpoint.

Link to this section Summary

Functions

Gets an access token from application credentials.

Link to this section Types

Specs

cred() :: %{required(atom()) => String.t()}

Specs

Specs

t() :: %Dwolla.Token{
  access_token: String.t(),
  expires_in: integer(),
  token_type: String.t()
}

Link to this section Functions

Link to this function

get(cred \\ Dwolla.get_cred())

View Source

Specs

get(cred() | nil) :: {:ok, t()} | {:error, error()}

Gets an access token from application credentials.