Show / Hide Table of Contents

Class SamlServiceProviderEvents

Events associated with SAML SSO and SLO at the service provider.

Inheritance
System.Object
SamlProviderEvents
SamlServiceProviderEvents
SamlAuthenticationEvents
Implements
ISamlServiceProviderEvents
ISamlProviderEvents
Inherited Members
SamlProviderEvents.OnResolveUrl
SamlProviderEvents.OnSendMessage
SamlProviderEvents.OnReceiveMessage
SamlProviderEvents.OnLogoutRequestCreated
SamlProviderEvents.OnLogoutResponseCreated
SamlProviderEvents.OnLogoutRequestReceived
SamlProviderEvents.OnLogoutResponseReceived
SamlProviderEvents.OnArtifactResolveCreated
SamlProviderEvents.OnArtifactResponseCreated
SamlProviderEvents.OnArtifactResolveReceived
SamlProviderEvents.OnArtifactResponseReceived
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: ComponentSpace.Saml2.Events
Assembly: ComponentSpace.Saml2.dll
Syntax
public class SamlServiceProviderEvents : SamlProviderEvents, ISamlServiceProviderEvents, ISamlProviderEvents

Properties

OnAuthnRequestCreated

Gets or sets the optional delegate called when a SAML authn request has been created.

Declaration
public 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
public 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
public 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.

Implements

ISamlServiceProviderEvents
ISamlProviderEvents
In This Article
Back to top Copyright © ComponentSpace Pty Ltd 2017-2022. All rights reserved.