Class: Secuconnect::Oauth2::Client

Inherits:
Object
  • Object
show all
Extended by:
Connection
Defined in:
lib/secuconnect/oauth2/client.rb

Constant Summary collapse

GRAND_TYPE =
"client_credentials"

Class Method Summary collapse

Methods included from Connection

connection

Class Method Details

.retrieve_tokenObject



10
11
12
# File 'lib/secuconnect/oauth2/client.rb', line 10

def retrieve_token
  connection.post("oauth/token", body)
end