Early Preview

This is currently very much a preview. Please feel free to try things out, but don't be upset if anything is not yet working. Feedback is welcome over on our GitHub Dicussions page.

class Sustainsys.​Saml2.​WebSso.​CommandResult

Assembly: Sustainsys.Saml2

Inheritance: object → CommandResult

The results of a command.

Properties

HttpStatusCode
Status code that should be returned.
public Cacheability
Cacheability
Cacheability of the command result.
public System.​Uri
Location
Location, if the status code is a redirect.
The extracted principal if the command has parsed an incoming assertion.
SessionNotOnOrAfter
Session termination time. Priority order: 1. SessionNotOnOrAfter in assertion. 2. WIF configured lifetime with SessionSecurityTokenHandler 3. SessionSecurityTokenHandler default.
public string
Content
The response body that is the result of the command.
public string
ContentType
The Mime-type
Data relayed from a previous request, such as the dictionary storing the Owin Authentication Properties.
public bool
TerminateLocalSession
Indicates that the local session should be terminated. Used by logout functionality.
public string
SetCookieName
Name of cookie to set.
public bool
SetCookieSecureFlag
Value of the "Secure" flag for the cookie (relevant if <see cref="P:Sustainsys.Saml2.WebSso.CommandResult.SetCookieName" /> != null).
public string
RelayState
SAML RelayState value
RequestState
Request state to store so that it is available on next http request.
public string
ClearCookieName
Name of cookie to be cleared.
public bool
HandledResult
Can be set by a notification callback to indicate that the <see cref="T:Sustainsys.Saml2.WebSso.CommandResult" /> has been handled and should not be applied by the Saml2 library to the response.
Other headers that should be set on the response.

Methods

public byte[]
GetSerializedRequestState​()
Serialized request state.
public bool
Equals​(object obj)
Inherited from object
protected void
Finalize​()
Inherited from object
public int
GetHashCode​()
Inherited from object
GetType​()
Inherited from object
protected object
MemberwiseClone​()
Inherited from object
public string
ToString​()
Inherited from object