Method: Auth0::Api::V2::Clients#create_client_credentials
- Defined in:
- lib/auth0/api/v2/clients.rb
#create_client_credentials(client_id, options) ⇒ Object
Creates credentials for a client
79 80 81 82 83 |
# File 'lib/auth0/api/v2/clients.rb', line 79 def create_client_credentials(client_id, ) raise Auth0::MissingClientId, 'Must specify a client id' if client_id.to_s.empty? raise Auth0::MissingParameter, 'Must specify a valid body' if .to_s.empty? post(client_credentials_path(client_id), ) end |