Class: UDAPSecurityTestKit::MockUDAPServer::AuthorizationEndpoint

Inherits:
Inferno::DSL::SuiteEndpoint
  • Object
show all
Includes:
UDAPAuthorizationResponseCreation
Defined in:
lib/udap_security_test_kit/endpoints/mock_udap_server/authorization_endpoint.rb

Instance Method Summary collapse

Methods included from UDAPAuthorizationResponseCreation

#make_udap_authorization_response, #udap_registered_redirect_uris

Instance Method Details

#make_responseObject



15
16
17
# File 'lib/udap_security_test_kit/endpoints/mock_udap_server/authorization_endpoint.rb', line 15

def make_response
  make_udap_authorization_response
end

#tagsObject



23
24
25
# File 'lib/udap_security_test_kit/endpoints/mock_udap_server/authorization_endpoint.rb', line 23

def tags
  [AUTHORIZATION_TAG, AUTHORIZATION_CODE_TAG, UDAP_TAG]
end

#test_run_identifierObject



11
12
13
# File 'lib/udap_security_test_kit/endpoints/mock_udap_server/authorization_endpoint.rb', line 11

def test_run_identifier
  request.params[:client_id]
end

#update_resultObject



19
20
21
# File 'lib/udap_security_test_kit/endpoints/mock_udap_server/authorization_endpoint.rb', line 19

def update_result
  nil # never update for now
end