Skip to content

Commit 06b195c

Browse files
authored
Merge pull request #217 from timlegge/more_updates
More updates
2 parents 78ac40d + 2fadb47 commit 06b195c

File tree

3 files changed

+11
-11
lines changed

3 files changed

+11
-11
lines changed

lib/Net/SAML2/Protocol/LogoutResponse.pm

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,10 +14,10 @@ with 'Net::SAML2::Role::ProtocolMessage';
1414
=head1 SYNOPSIS
1515
1616
my $logout_req = Net::SAML2::Protocol::LogoutResponse->new(
17-
issuer => $issuer,
18-
destination => $destination,
19-
status => $status,
20-
response_to => $response_to,
17+
issuer => $issuer,
18+
destination => $destination,
19+
status => $status,
20+
in_response_to => $in_response_to,
2121
);
2222
2323
=head1 DESCRIPTION

lib/Net/SAML2/SP.pm

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -409,7 +409,7 @@ sub logout_request {
409409
return $logout_req;
410410
}
411411

412-
=head2 logout_response( $destination, $status, $response_to )
412+
=head2 logout_response( $destination, $status, $in_response_to )
413413
414414
Returns a LogoutResponse object created by this SP, intended for the
415415
given destination, which should be the identity URI of the IdP.
@@ -420,14 +420,14 @@ LogoutRequest.
420420
=cut
421421

422422
sub logout_response {
423-
my ($self, $destination, $status, $response_to) = @_;
423+
my ($self, $destination, $status, $in_response_to) = @_;
424424

425425
my $status_uri = Net::SAML2::Protocol::LogoutResponse->status_uri($status);
426426
my $logout_req = Net::SAML2::Protocol::LogoutResponse->new(
427-
issuer => $self->issuer,
428-
destination => $destination,
429-
status => $status_uri,
430-
response_to => $response_to,
427+
issuer => $self->issuer,
428+
destination => $destination,
429+
status => $status_uri,
430+
in_response_to => $in_response_to,
431431
);
432432

433433
return $logout_req;

t/author/01-confirm-schema.t

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ my $logout_resp = Net::SAML2::Protocol::LogoutResponse->new(
6060
issuer => 'https://netsaml2-testapp.local',
6161
destination => 'destination',
6262
status => 'status',
63-
response_to => 'NETSAML2_dkajhdahdkhdkdj',
63+
in_response_to => 'NETSAML2_dkajhdahdkhdkdj',
6464
)->as_xml;
6565

6666
$post_request = $post->sign_xml($logout_resp);

0 commit comments

Comments
 (0)