Class: Fog::Brightbox::OAuth2::ClientCredentialsStrategy
- Inherits:
-
GrantTypeStrategy
- Object
- GrantTypeStrategy
- Fog::Brightbox::OAuth2::ClientCredentialsStrategy
- Defined in:
- lib/fog/brightbox/oauth2.rb
Overview
This implements client based authentication/authorization based on the existing trust relationship using the ‘client_credentials` grant type.
Instance Method Summary collapse
Methods inherited from GrantTypeStrategy
#authorization_header, #headers, #initialize
Constructor Details
This class inherits a constructor from Fog::Brightbox::OAuth2::GrantTypeStrategy
Instance Method Details
#authorization_body_data ⇒ Object
157 158 159 160 161 |
# File 'lib/fog/brightbox/oauth2.rb', line 157 def { "grant_type" => "client_credentials" } end |