class OAuth2::Strategy::ClientCredentials

def authorize_url

Raises:
  • (NotImplementedError) -
def authorize_url
  raise(NotImplementedError, 'The authorization endpoint is not used in this strategy')
end

def get_token(params = {}, opts = {})

Parameters:
  • opts (Hash) -- options
  • params (Hash) -- additional params
def get_token(params = {}, opts = {})
  params = params.merge('grant_type' => 'client_credentials')
  @client.get_token(params, opts)
end