lib/saml/authn_request.rb in libsaml-3.2.1 vs lib/saml/authn_request.rb in libsaml-3.2.2

- old
+ new

@@ -13,9 +13,10 @@ attribute :protocol_binding, String, :tag => "ProtocolBinding" attribute :provider_name, String, :tag => "ProviderName" has_one :requested_authn_context, Saml::Elements::RequestedAuthnContext has_one :scoping, Saml::Elements::Scoping + has_one :name_id_policy, Saml::Elements::NameIdPolicy validates :force_authn, :inclusion => [true, false, nil] validates :assertion_consumer_service_index, :numericality => true, :if => lambda { |val| val.assertion_consumer_service_index.present? }