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