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.​Saml2ArtifactBinding
Assembly: Sustainsys.Saml2
Inheritance: object → Saml2Binding → Saml2ArtifactBinding
Saml2 Artifact binding.
Properties
public static
System.​Collections.​Concurrent.​ConcurrentDictionary<​byte[], Saml2P.​ISaml2Message>
PendingMessages
Pending messages where the artifact has been sent.
Methods
public
UnbindResult
Unbind​(HttpRequestData request,
Configuration.​IOptions options)
Checks if the binding can extract a message out of the current
http request.
Returns True if the binding supports the current request.
request
HttpRequest to check for message.
options
Options used to look up details of issuing
idp when needed (artifact binding).
public static
byte[]
CreateArtifact​(Metadata.​EntityId issuer,
int endpointIndex)
Create a SAML artifact value.
issuer
Entity id of the artifact issuer.
endpointIndex
Index of the artifact resolution endpoint
that the requester should use to resolve the artifact.
public
CommandResult
Bind​(Saml2P.​ISaml2Message message,
ILoggerAdapter logger)
Binds a message to a http response with HTTP Redirect.
Returns CommandResult.
message
Message to bind.
logger
Logger to use.
public
CommandResult
Bind​(TMessage message,
ILoggerAdapter logger,
System.​Action<​TMessage, System.​Xml.​Linq.​XDocument, Saml2BindingType> xmlCreatedNotification)
Inherited from Saml2Binding
Binds a message to an http response.
Returns CommandResult.
message
Message to bind
logger
Logger to log use, can be null.
xmlCreatedNotification
Notification to call for modification of XDocument, can be null.
public
CommandResult
Bind​(Saml2P.​ISaml2Message message)
Inherited from Saml2Binding
Binds a message to a http response.
Returns CommandResult.
message
Message to bind.
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