Class: NexaasID::Client::OAuth
- Inherits:
-
OAuth2::Client
- Object
- OAuth2::Client
- NexaasID::Client::OAuth
- Defined in:
- lib/nexaas_id/client/oauth.rb
Overview
OAuth2 client used by NexaasID::Client::Application and NexaasID::Client::Identity. Provides direct access to the underlying OAuth2 API.
Instance Method Summary collapse
-
#initialize(config) ⇒ OAuth
constructor
A new instance of OAuth.
Constructor Details
#initialize(config) ⇒ OAuth
Returns a new instance of OAuth.
6 7 8 9 10 11 12 13 |
# File 'lib/nexaas_id/client/oauth.rb', line 6 def initialize(config) super( config.application_token, config.application_secret, site: config.url, connection_opts: { headers: headers } ) end |