Class: SMARTAppLaunch::MockSMARTServer::AuthorizationEndpoint

Inherits:
Inferno::DSL::SuiteEndpoint
  • Object
show all
Includes:
SMARTAuthorizationResponseCreation
Defined in:
lib/smart_app_launch/endpoints/mock_smart_server/authorization_endpoint.rb

Instance Method Summary collapse

Methods included from SMARTAuthorizationResponseCreation

#make_smart_authorization_response

Instance Method Details

#make_responseObject



14
15
16
# File 'lib/smart_app_launch/endpoints/mock_smart_server/authorization_endpoint.rb', line 14

def make_response
  make_smart_authorization_response
end

#tagsObject



22
23
24
# File 'lib/smart_app_launch/endpoints/mock_smart_server/authorization_endpoint.rb', line 22

def tags
  [AUTHORIZATION_TAG, AUTHORIZATION_CODE_TAG, SMART_TAG]
end

#test_run_identifierObject



10
11
12
# File 'lib/smart_app_launch/endpoints/mock_smart_server/authorization_endpoint.rb', line 10

def test_run_identifier  
  request.params[:client_id]
end

#update_resultObject



18
19
20
# File 'lib/smart_app_launch/endpoints/mock_smart_server/authorization_endpoint.rb', line 18

def update_result
  nil # never update for now
end