diff --git a/Makefile.PL b/Makefile.PL index a68e2d5..416bfcf 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -48,7 +48,7 @@ my %WriteMakefileArgs = ( "URI::Encode" => 0, "URI::Escape" => 0, "URI::QueryParam" => 0, - "URN::OASIS::SAML2" => "0.003", + "URN::OASIS::SAML2" => "0.004", "XML::Enc" => "0.13", "XML::Generator" => "1.13", "XML::LibXML" => 0, @@ -124,7 +124,7 @@ my %FallbackPrereqs = ( "URI::Encode" => 0, "URI::Escape" => 0, "URI::QueryParam" => 0, - "URN::OASIS::SAML2" => "0.003", + "URN::OASIS::SAML2" => "0.004", "XML::Enc" => "0.13", "XML::Generator" => "1.13", "XML::LibXML" => 0, diff --git a/cpanfile b/cpanfile index 85ba581..8b93d0c 100644 --- a/cpanfile +++ b/cpanfile @@ -32,7 +32,7 @@ requires "URI" => "0"; requires "URI::Encode" => "0"; requires "URI::Escape" => "0"; requires "URI::QueryParam" => "0"; -requires "URN::OASIS::SAML2" => "0.003"; +requires "URN::OASIS::SAML2" => "0.004"; requires "XML::Enc" => "0.13"; requires "XML::Generator" => "1.13"; requires "XML::LibXML" => "0"; diff --git a/lib/Net/SAML2/Protocol/Artifact.pm b/lib/Net/SAML2/Protocol/Artifact.pm index d8f8404..6a1e069 100644 --- a/lib/Net/SAML2/Protocol/Artifact.pm +++ b/lib/Net/SAML2/Protocol/Artifact.pm @@ -1,7 +1,7 @@ package Net::SAML2::Protocol::Artifact; +use Moose; # VERSION -use Moose; use MooseX::Types::DateTime qw/ DateTime /; use DateTime::Format::XSD; use Net::SAML2::XML::Util qw/ no_comments /; diff --git a/lib/Net/SAML2/Protocol/LogoutResponse.pm b/lib/Net/SAML2/Protocol/LogoutResponse.pm index 0c17944..0463634 100644 --- a/lib/Net/SAML2/Protocol/LogoutResponse.pm +++ b/lib/Net/SAML2/Protocol/LogoutResponse.pm @@ -1,7 +1,7 @@ package Net::SAML2::Protocol::LogoutResponse; +use Moose; # VERSION -use Moose; use MooseX::Types::URI qw/ Uri /; use Net::SAML2::XML::Util qw/ no_comments /; use Net::SAML2::Util qw/ deprecation_warning /; @@ -83,12 +83,24 @@ around BUILDARGS => sub { return $self->$orig(%args); }; +=head2 response_to() + +Deprecated use B + +=cut + sub response_to { my $self = shift; deprecation_warning("Please use in_response_to instead of response_to"); return $self->in_response_to; } +=head2 substatus() + +Deprecated use B + +=cut + sub substatus { my $self = shift; deprecation_warning("Please use sub_status instead of substatus"); diff --git a/lib/Net/SAML2/Role/ProtocolMessage.pm b/lib/Net/SAML2/Role/ProtocolMessage.pm index 29222e3..95f040d 100644 --- a/lib/Net/SAML2/Role/ProtocolMessage.pm +++ b/lib/Net/SAML2/Role/ProtocolMessage.pm @@ -1,8 +1,8 @@ package Net::SAML2::Role::ProtocolMessage; -# VERSION - use Moose::Role; +# VERSION + # ABSTRACT: Common behaviour for Protocol messages use feature qw(state);