Class: Camunda::Console::OAuthToken
- Inherits:
-
OAuthResource
- Object
- OAuthResource
- Camunda::Console::OAuthToken
- Defined in:
- lib/camunda/console/o_auth_token.rb
Class Method Summary collapse
Methods inherited from OAuthResource
Class Method Details
.create ⇒ Object
6 7 8 9 10 11 12 13 14 15 16 |
# File 'lib/camunda/console/o_auth_token.rb', line 6 def self.create uri = Camunda. payload = { grant_type: 'client_credentials', audience: Camunda.console_audience, client_id: Camunda.client_id, client_secret: Camunda.client_secret } create_by_uri(uri: uri, payload: payload) end |