ueberauth_foursquare v0.1.3 Ueberauth.Strategy.Foursquare.OAuth

An implementation of OAuth2 for Foursquare.

To add your client_id and client_secret include these values in your configuration.

config :ueberauth, Ueberauth.Strategy.Foursquare.OAuth,
  client_id:     System.get_env("FOURSQUARE_CLIENT_ID"),
  client_secret: System.get_env("FOURSQUARE_CLIENT_SECRET")

Summary

Functions

Provides the authorize url for the request phase of Überauth. No need to call this usually

Constructs a client for requests to Foursquare

Functions

authorize_url!(params \\ [], opts \\ [])

Provides the authorize url for the request phase of Überauth. No need to call this usually.

client(opts \\ [])

Constructs a client for requests to Foursquare.

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

Ueberauth.Strategy.Foursquare.OAuth.client(redirect_uri: "http://localhost:4000/auth/foursquare/callback")

This will be setup automatically for you in Ueberauth.Strategy.Foursquare.

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