Ueberauth.Strategy.FreeAgent.OAuth

An implementation of OAuth2 for FreeAgent, using the v2 API.

See Ueberauth.Strategy.FreeAgent for configuration details.

Summary

Functions

Construct a client for requests to FreeAgent

Functions

client(opts \\ [])

Construct a client for requests to FreeAgent.

Optionally include any OAuth2 options here to be merged with the defaults.

These options are only useful for usage outside the normal callback phase of Ueberauth.

Examples

profile =
  Ueberauth.Strategy.FreeAgent.OAuth.client(token: "THE_ACCESS_TOKEN")
  |> OAuth2.Client.get("/users/me")