Class: Camunda::Zeebe::OAuthToken
- Inherits:
-
OAuthResource
- Object
- OAuthResource
- Camunda::Zeebe::OAuthToken
- Defined in:
- lib/camunda/zeebe/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/zeebe/o_auth_token.rb', line 6 def self.create uri = Camunda. payload = { grant_type: 'client_credentials', audience: Camunda.zeebe_audience, client_id: Camunda.client_id, client_secret: Camunda.client_secret } create_by_uri(uri: uri, payload: payload) end |