Interface ISamlProviderEvents
- Namespace
- ComponentSpace.Saml2.Events
- Assembly
- ComponentSpace.Saml2.dll
Events associated with SAML SSO and SLO.
public interface ISamlProviderEvents
Properties
OnArtifactResolveCreated
Gets or sets the optional delegate called when a SAML artifact resolve request has been created.
Func<HttpContext, ArtifactResolve, ArtifactResolve> OnArtifactResolveCreated { get; set; }
Property Value
- Func<HttpContext, ArtifactResolve, ArtifactResolve>
The delegate called when a SAML artifact resolve request has been created.
Remarks
The SAML artifact resolve request may be modified if required.
OnArtifactResolveReceived
Gets or sets the optional delegate called when a SAML artifact resolve request has been received.
Action<HttpContext, ArtifactResolve> OnArtifactResolveReceived { get; set; }
Property Value
- Action<HttpContext, ArtifactResolve>
The delegate called when a SAML artifact resolve request has been received.
OnArtifactResponseCreated
Gets or sets the optional delegate called when a SAML artifact response has been created.
Func<HttpContext, ArtifactResponse, ArtifactResponse> OnArtifactResponseCreated { get; set; }
Property Value
- Func<HttpContext, ArtifactResponse, ArtifactResponse>
The delegate called when a SAML artifact response has been created.
Remarks
The SAML artifact response may be modified if required.
OnArtifactResponseReceived
Gets or sets the optional delegate called when a SAML artifact response has been received.
Action<HttpContext, ArtifactResponse> OnArtifactResponseReceived { get; set; }
Property Value
- Action<HttpContext, ArtifactResponse>
The delegate called when a SAML artifact response has been received.
OnDecrypt
Gets or sets the optional delegate called when data has been decrypted.
Action<HttpContext, X509Certificate2> OnDecrypt { get; set; }
Property Value
- Action<HttpContext, X509Certificate2>
The delegate called when data has been decrypted.
OnEncrypt
Gets or sets the optional delegate called when data has been encrypted.
Action<HttpContext, X509Certificate2> OnEncrypt { get; set; }
Property Value
- Action<HttpContext, X509Certificate2>
The delegate called when data has been encrypted.
OnGenerateSignature
Gets or sets the optional delegate called when a signature has been generated.
Action<HttpContext, X509Certificate2> OnGenerateSignature { get; set; }
Property Value
- Action<HttpContext, X509Certificate2>
The delegate called when a signature has been generated.
OnLogoutRequestCreated
Gets or sets the optional delegate called when a SAML logout request has been created.
Func<HttpContext, LogoutRequest, LogoutRequest> OnLogoutRequestCreated { get; set; }
Property Value
- Func<HttpContext, LogoutRequest, LogoutRequest>
The delegate called when a SAML logout request has been created.
Remarks
The SAML logout request may be modified if required.
OnLogoutRequestReceived
Gets or sets the optional delegate called when a SAML logout request has been received.
Action<HttpContext, LogoutRequest, string> OnLogoutRequestReceived { get; set; }
Property Value
- Action<HttpContext, LogoutRequest, string>
The delegate called when a SAML logout request has been received.
OnLogoutResponseCreated
Gets or sets the optional delegate called when a SAML logout response has been created.
Func<HttpContext, LogoutResponse, LogoutResponse> OnLogoutResponseCreated { get; set; }
Property Value
- Func<HttpContext, LogoutResponse, LogoutResponse>
The delegate called when a SAML logout response has been created.
Remarks
The SAML logout response may be modified if required.
OnLogoutResponseReceived
Gets or sets the optional delegate called when a SAML logout response has been received.
Action<HttpContext, LogoutResponse, string> OnLogoutResponseReceived { get; set; }
Property Value
- Action<HttpContext, LogoutResponse, string>
The delegate called when a SAML logout response has been received.
OnReceiveMessage
Gets or sets the optional delegate called when receiving a SAML message.
Func<HttpContext, XmlElement, XmlElement> OnReceiveMessage { get; set; }
Property Value
- Func<HttpContext, XmlElement, XmlElement>
The delegate called when receiving a SAML message.
Remarks
The SAML message may be modified if required.
OnResolveUrl
Gets or sets the optional delegate called to resolve the destination URL when sending a SAML message.
Func<HttpContext, SamlEndpointType, string, string> OnResolveUrl { get; set; }
Property Value
- Func<HttpContext, SamlEndpointType, string, string>
The delegate called to resolve the destination URL when sending a SAML message.
Remarks
The URL may be modified if required.
OnSendMessage
Gets or sets the optional delegate called when sending a SAML message.
Func<HttpContext, XmlElement, XmlElement> OnSendMessage { get; set; }
Property Value
- Func<HttpContext, XmlElement, XmlElement>
The delegate called when sending a SAML message.
Remarks
The SAML message may be modified if required.
OnVerifySignature
Gets or sets the optional delegate called when a signature has been verified.
Action<HttpContext, X509Certificate2> OnVerifySignature { get; set; }
Property Value
- Action<HttpContext, X509Certificate2>
The delegate called when a signature has been verified.