Method: Auth::ClientCredentials::Service#get_new_token

Defined in:
lib/lighthouse/auth/client_credentials/service.rb

#get_new_token(auth_params = {}) ⇒ Object (private)



66
67
68
69
70
# File 'lib/lighthouse/auth/client_credentials/service.rb', line 66

def get_new_token(auth_params = {})
  assertion = build_assertion
  request_body = build_request_body(assertion, @scopes, auth_params)
  config.get_access_token(@url, request_body)
end