Class: SMART_UDAP_HarmonizationTestKit::SMART_UDAP_TenantContextTest
Overview
rubocop:disable Naming/ClassAndModuleCamelCase
Instance Attribute Summary
#token_response
Instance Method Summary
collapse
#context_field, #context_field_present?, #missing_received_context_scopes, #missing_received_context_scopes?, #missing_received_scopes_string, #missing_requested_context_scopes, #missing_requested_context_scopes?, #missing_requested_scopes_string, #received_scopes, #received_scopes_list, #requested_scopes, #requested_scopes_list
Instance Method Details
#context_field_name ⇒ Object
12
13
14
|
# File 'lib/smart_udap_harmonization_test_kit/smart_udap_tenant_context_test.rb', line 12
def context_field_name
'tenant'
end
|
#context_scopes ⇒ Object
16
17
18
|
# File 'lib/smart_udap_harmonization_test_kit/smart_udap_tenant_context_test.rb', line 16
def context_scopes
[].freeze
end
|
#validate_context_field ⇒ Object
20
21
22
23
|
# File 'lib/smart_udap_harmonization_test_kit/smart_udap_tenant_context_test.rb', line 20
def validate_context_field
assert context_field.is_a?(String),
"Expected `#{context_field_name}` to be a String, but found: `#{context_field.class.name}`"
end
|