Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Signing out: #48

Closed
wants to merge 1 commit into from

Conversation

fatbigbright
Copy link

  1. Keep all the features of Response Class
  2. Extract part of code of Response into BaseReponse Class, from which
    Response inherits
  3. Define SignoutResponse, which inherits from BaseResponse
  4. Define SignoutRequest to support create request for signing out

1. Keep all the features of Response Class
2. Extract part of code of Response into BaseReponse Class, from which
   Response inherits
3. Define SignoutResponse, which inherits from BaseResponse
4. Define SignoutRequest to support create request for signing out
@chtenb
Copy link
Contributor

chtenb commented Oct 7, 2021

@alex-jitbit will this eventually be merged, or is it out of scope?


public string GetLogoutStatus()
{
XmlNode node = _xmlDoc.SelectSingleNode("/samlp:LogoutResponse/samlp:Status/samlp:StatusCode");

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I have to add the _xmlNameSpaceManager as following, otherwise it will throw error "Namespace Manager or XsltContext needed. This query has a prefix, variable, or user-defined function."
XmlNode node = _xmlDoc.SelectSingleNode("/samlp:LogoutResponse/samlp:Status/samlp:StatusCode", _xmlNameSpaceManager);

@uttam-panchal-nividous
Copy link

uttam-panchal-nividous commented Nov 1, 2022

Any update on this? I need this for my solution if you can provide it.

@alex-jitbit
Copy link
Member

alex-jitbit commented Feb 1, 2023

Yes, I will include this, however, becasue the project is now a full-fldged nuget library, I will transfer this code manually, hope I'll get to this next week.

@rdmendesp
Copy link

@alex-jitbit any update on this?

@alex-jitbit
Copy link
Member

Moved changes to #81

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants