AWSCoreUnitTests/SigV4Tests/generate_swift_test_cases/generate_swift_test_cases.rb
# Return the assume_role_credentials_provider for test cases that that
# verify behavior of credentials with session tokens
Return the assume_role_credentials_provider for test cases that that
verify behavior of credentials with session tokens
Return the assume_role_credentials_provider for test cases that that verify behavior of credentials with session tokens
def credentials_provider(test_case)
    case test_case.name
    when "post-sts-header-after"
      @assume_role_credentials_provider
    when "post-sts-header-before"
      @assume_role_credentials_provider
    else
      @basic_credential_provider
    end
  end
def credentials_provider ( test_case ) case test_case . name when "post-sts-header-after" @assume_role_credentials_provider when "post-sts-header-before" @assume_role_credentials_provider else @basic_credential_provider end end
Return the assume_role_credentials_provider for test cases that that
verify behavior of credentials with session tokens
Return the assume_role_credentials_provider for test cases that that verify behavior of credentials with session tokens
test_case