Ueberauth Wordpress Strategy v0.2.0 Ueberauth.Strategy.Wordpress.OAuth
OAuth2 for Wordpress.
Add client_id
and client_secret
to your configuration:
config :ueberauth, Ueberauth.Strategy.Wordpress.OAuth, client_id: System.get_env("WORDPRESS_CLIENT_ID"), client_secret: System.get_env("WORDPRESS_CLIENT_SECRET")
Link to this section Summary
Functions
Provides the authorize url for the request phase of Ueberauth. No need to call this usually.
Construct a client for requests to Wordpress.
Link to this section Functions
Link to this function
authorize_url(client, params)
Link to this function
authorize_url!(params \\ [], opts \\ [])
Provides the authorize url for the request phase of Ueberauth. No need to call this usually.
Link to this function
client(opts \\ [])
Construct a client for requests to Wordpress.
This will be setup automatically for you in Ueberauth.Strategy.Wordpress
.
These options are only useful for usage outside the normal callback phase of Ueberauth.
Link to this function
get(token, url, headers \\ [], opts \\ [])
Link to this function
get_access_token(params \\ [], opts \\ [])
Link to this function