Class: SMARTAppLaunch::OpenIDTokenPayloadTest

Inherits:
Inferno::Test
  • Object
show all
Includes:
TokenPayloadValidation
Defined in:
lib/smart_app_launch/openid_token_payload_test.rb

Constant Summary collapse

REQUIRED_CLAIMS =
['iss', 'sub', 'aud', 'exp', 'iat'].freeze

Constants included from TokenPayloadValidation

TokenPayloadValidation::FHIR_ID_REGEX, TokenPayloadValidation::FHIR_RESOURCE_TYPES, TokenPayloadValidation::NUMERIC_FIELDS, TokenPayloadValidation::STRING_FIELDS

Instance Method Summary collapse

Methods included from TokenPayloadValidation

#check_fhir_context_canonical, #check_fhir_context_identifier, #check_fhir_context_reference, #check_for_missing_scopes, #validate_fhir_context, #validate_fhir_context_stu2_2, #validate_required_fields_present, #validate_scope_subset, #validate_token_field_types, #validate_token_type

Instance Method Details

#required_claimsObject



21
22
23
# File 'lib/smart_app_launch/openid_token_payload_test.rb', line 21

def required_claims
  REQUIRED_CLAIMS.dup
end