View Source Ueberauth.Strategy.IdAustria.OAuth (Überauth IDAustria v0.2.0)
An implementation of OAuth2 for ID Austria.
To add your client_id
and client_secret
include these values in your configuration.
config :ueberauth, Ueberauth.Strategy.IdAustria.OAuth,
client_id: System.get_env("EID_CLIENT_ID"),
client_secret: System.get_env("EID_CLIENT_SECRET")
Summary
Functions
Callback implementation for OAuth2.Strategy.authorize_url/2
.
Provides the authorize url for the request phase of Ueberauth. No need to call this usually.
Construct a client for requests to ID Austria.
Callback implementation for OAuth2.Strategy.get_token/3
.
Functions
Callback implementation for OAuth2.Strategy.authorize_url/2
.
Provides the authorize url for the request phase of Ueberauth. No need to call this usually.
Construct a client for requests to ID Austria.
Optionally include any OAuth2 options here to be merged with the defaults.
Ueberauth.Strategy.IdAustria.OAuth.client(redirect_uri: "http://localhost:4000/auth/eid/callback")
This will be setup automatically for you in Ueberauth.Strategy.IdAustria
.
These options are only useful for usage outside the normal callback phase of Ueberauth.
Callback implementation for OAuth2.Strategy.get_token/3
.