digidentity/libsaml

View on GitHub
lib/saml/artifact_response.rb

Summary

Maintainability
A
0 mins
Test Coverage
module Saml
  class ArtifactResponse
    include Saml::ComplexTypes::StatusResponseType

    tag "ArtifactResponse"

    has_one :response, Saml::Response
    has_one :authn_request, Saml::AuthnRequest

    def message
      authn_request || response
    end
  end
end