Class/Module Index [+]

Quicksearch

Fog::Brightbox::OAuth2::UserCredentialsStrategy

This passes user details through so the returned token carries the privileges of the user not account limited by the client

Public Instance Methods

authorization_body_data() click to toggle source
# File lib/fog/brightbox/oauth2.rb, line 130
def authorization_body_data
  {
    "grant_type" => "password",
    "client_id"  => @credentials.client_id,
    "username"   => @credentials.username,
    "password"   => @credentials.password
  }
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.