Class: Restforce::Middleware::Authentication::JWTBearer

Inherits:
Restforce::Middleware::Authentication show all
Defined in:
lib/restforce/middleware/authentication/jwt_bearer.rb

Instance Method Summary collapse

Methods inherited from Restforce::Middleware::Authentication

#authenticate!, #call, #connection, #encode_www_form, #error_message

Methods inherited from Restforce::Middleware

#client, #connection, #initialize

Constructor Details

This class inherits a constructor from Restforce::Middleware

Instance Method Details

#paramsObject



9
10
11
12
13
14
# File 'lib/restforce/middleware/authentication/jwt_bearer.rb', line 9

def params
  {
    grant_type: 'urn:ietf:params:oauth:grant-type:jwt-bearer',
    assertion: jwt_bearer_token
  }
end