Instantiate a new OAuth 2.0 client using
the client ID and client secret registered to your application.
Options:
:site : | Specify a base URL for your OAuth 2.0 client.
|
:authorize_path : | Specify the path to the authorization endpoint.
|
:authorize_url : | Specify a full URL of the authorization endpoint.
|
:access_token_path : | Specify the path to the access token endpoint.
|
:access_token_url : | Specify the full URL of the access token endpoint.
|
:parse_json : | If true, application/json responses will be automatically parsed.
|
:ssl : | Specify SSL options for the connection.
|
:adapter : | The name of the Faraday::Adapter::* class to use, e.g. :net_http. To pass
arguments
|
to the adapter pass an array here, e.g. [:action_dispatch, my_test_session]
:raise_errors : | Default true. When false it will then return the error status and response
instead of raising an exception.
|