Class AuthenticationQueryResponder
Supports the authentication query profile.
Inherited Members
Namespace: ComponentSpace.SAML2.Profiles.AuthenticationQuery
Assembly: ComponentSpace.Saml2.dll
Syntax
public static class AuthenticationQueryResponder
Remarks
Refer to the Profiles for the OASIS Security Assertion Markup Language (SAML) V2.0 specification for further details.
Methods
ReceiveAuthenticationQueryBySOAP(HttpRequestBase)
Receives the authentication query over SOAP.
Declaration
public static XmlElement ReceiveAuthenticationQueryBySOAP(HttpRequestBase httpRequest)
Parameters
| Type | Name | Description |
|---|---|---|
| HttpRequestBase | httpRequest | The HTTP request containing the authentication query. |
Returns
| Type | Description |
|---|---|
| XmlElement | The authentication query. |
Exceptions
| Type | Condition |
|---|---|
| SAMLProfileException | Thrown when the receive fails. |
SendSAMLResponseBySOAP(HttpResponseBase, XmlElement)
Sends the SAML response over SOAP.
Declaration
public static void SendSAMLResponseBySOAP(HttpResponseBase httpResponse, XmlElement samlResponse)
Parameters
| Type | Name | Description |
|---|---|---|
| HttpResponseBase | httpResponse | The HTTP response used to send the SAML response. |
| XmlElement | samlResponse | The SAML response. |
Exceptions
| Type | Condition |
|---|---|
| SAMLProfileException | Thrown when the send fails. |