Class: Fog::Brightbox::OAuth2::RefreshTokenStrategy
- Inherits:
-
GrantTypeStrategy
- Object
- GrantTypeStrategy
- Fog::Brightbox::OAuth2::RefreshTokenStrategy
- Defined in:
- lib/fog/brightbox/oauth2.rb
Overview
This strategy attempts to use a refresh_token gained during an earlier request to reuse the credentials given originally
Instance Method Summary collapse
Methods inherited from GrantTypeStrategy
Constructor Details
This class inherits a constructor from Fog::Brightbox::OAuth2::GrantTypeStrategy
Instance Method Details
#authorization_body_data ⇒ Object
144 145 146 147 148 149 150 |
# File 'lib/fog/brightbox/oauth2.rb', line 144 def { "grant_type" => "refresh_token", "client_id" => @credentials.client_id, "refresh_token" => @credentials.refresh_token } end |