Skip to content

Commit

Permalink
Reverted unnecessary changes.
Browse files Browse the repository at this point in the history
  • Loading branch information
taro1025 committed Sep 9, 2024
1 parent 803d41b commit f4c49c9
Show file tree
Hide file tree
Showing 2 changed files with 61 additions and 3 deletions.
60 changes: 60 additions & 0 deletions .idea/workspace.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 1 addition & 3 deletions lib/saml_idp/logout_request_builder.rb
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
require 'saml_idp/logout_builder'
module SamlIdp
class LogoutRequestBuilder < LogoutBuilder
include SamlIdp::Signable

attr_accessor :name_id

def initialize(response_id, issuer_uri, saml_slo_url, name_id, algorithm)
Expand All @@ -24,7 +22,7 @@ def build
request.tag! "saml:Issuer", issuer_uri
sign request
request.tag! "saml:NameID", name_id, Format: Saml::XML::Namespaces::Formats::NameId::PERSISTENT
request.SessionIndex response_id_string
request.tag! "samlp:SessionIndex", response_id_string
end
end
private :build
Expand Down

0 comments on commit f4c49c9

Please sign in to comment.