Interface ISamlServiceProviderEvents
Events associated with SAML SSO and SLO at the service provider.
Inherited Members
Namespace: ComponentSpace.Saml2.Events
Assembly: ComponentSpace.Saml2.dll
Syntax
public interface ISamlServiceProviderEvents : ISamlProviderEvents
Properties
OnAuthnRequestCreated
Gets or sets the optional delegate called when a SAML authn request has been created.
Declaration
Func<HttpContext, AuthnRequest, AuthnRequest> OnAuthnRequestCreated { get; set; }
Property Value
Type | Description |
---|---|
System.Func<Microsoft.AspNetCore.Http.HttpContext, AuthnRequest, AuthnRequest> | The delegate called when a SAML authn request has been created. |
Remarks
The SAML authn request may be modified if required.
OnSamlAssertionReceived
Gets or sets the optional delegate called when a SAML assertion has been received.
Declaration
Action<HttpContext, SamlAssertion> OnSamlAssertionReceived { get; set; }
Property Value
Type | Description |
---|---|
System.Action<Microsoft.AspNetCore.Http.HttpContext, SamlAssertion> | The delegate called when a SAML assertion has been received. |
OnSamlResponseReceived
Gets or sets the optional delegate called when a SAML response has been received.
Declaration
Action<HttpContext, SamlResponse, string> OnSamlResponseReceived { get; set; }
Property Value
Type | Description |
---|---|
System.Action<Microsoft.AspNetCore.Http.HttpContext, SamlResponse, System.String> | The delegate called when a SAML response has been received. |