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.​Saml2Binding
Assembly: Sustainsys.Saml2
Inheritance: object → Saml2Binding
Abstract base for all Saml2Bindings that binds a message to a specific kind of transport.
Fields and Constants
public static readonly
System.​Uri
HttpPostUri
Uri identifier of the HTTP-POST binding.
public static readonly
System.​Uri
HttpRedirectUri
Uri identifier of the HTTP-Redirect binding.
public static readonly
System.​Uri
HttpArtifactUri
Uri identifier of the HTTP-Artifact binding.
public static readonly
System.​Uri
DiscoveryResponseUri
Uri identifier of the Discovery Response SAML extension.
public static readonly
System.​Uri
SoapUri
Uri identifier of the SOAP binding.
Methods
public
CommandResult
Bind​(Saml2P.ISaml2Message message,
ILoggerAdapter logger)
message
Message to bind.
logger
Logger to log use, can be null.
Returns CommandResult.
Binds a message to a http response.
public
CommandResult
Bind​(TMessage message,
ILoggerAdapter logger,
System.Action`3 xmlCreatedNotification)
public
CommandResult
Bind​(Saml2P.ISaml2Message message)
message
Message to bind.
Returns CommandResult.
Binds a message to a http response.
public
UnbindResult
Unbind​(HttpRequestData request,
Configuration.IOptions options)
request
Current HttpRequest.
options
Options, used to look up certificate information
in bindings that validate signatures. If set to null, the returned
result will have TrustLevel.None.
Returns Extracted message.
Extracts a message out of the current HttpRequest.
public
bool
Equals​(object obj)
Inherited from object
protected
void
Finalize​()
Inherited from object
public
int
GetHashCode​()
Inherited from object
protected
object
MemberwiseClone​()
Inherited from object
public
string
ToString​()
Inherited from object