Show / Hide Table of Contents

Class SamlMiddlewareEvents

Events associated with the SAML middleware.

Inheritance
System.Object
SamlProviderEvents
SamlIdentityProviderEvents
SamlMiddlewareEvents
Implements
ISamlIdentityProviderEvents
ISamlProviderEvents
Inherited Members
SamlIdentityProviderEvents.OnAuthnRequestReceived
SamlIdentityProviderEvents.OnSamlAssertionCreated
SamlIdentityProviderEvents.OnSamlResponseCreated
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.Middleware
Assembly: ComponentSpace.Saml2.dll
Syntax
public class SamlMiddlewareEvents : SamlIdentityProviderEvents, ISamlIdentityProviderEvents, ISamlProviderEvents

Properties

OnError

Gets or sets the optional delegate called when an error occurs.

Declaration
public Func<HttpContext, Exception, bool> OnError { get; set; }
Property Value
Type Description
System.Func<Microsoft.AspNetCore.Http.HttpContext, System.Exception, System.Boolean>

The delegate called when an error occurs.

Remarks

Returns true if the error has been processed; otherwise false.

OnInitiateSlo

Gets or sets the optional delegate called prior to calling InitiateSloAsync.

Declaration
public Func<HttpContext, string, string, (string, string)> OnInitiateSlo { get; set; }
Property Value
Type Description
System.Func<Microsoft.AspNetCore.Http.HttpContext, System.String, System.String, System.ValueTuple<System.String, System.String>>

The delegate called prior to calling InitiateSloAsync.

Remarks

The InitiateSloAsync parameters may be modified if required.

OnInitiateSso

Gets or sets the optional delegate called prior to calling InitiateSsoAsync.

Declaration
public Func<HttpContext, string, string, IList<SamlAttribute>, string, string, string, (string, string, IList<SamlAttribute>, string, string, string)> OnInitiateSso { get; set; }
Property Value
Type Description
System.Func<Microsoft.AspNetCore.Http.HttpContext, System.String, System.String, System.Collections.Generic.IList<SamlAttribute>, System.String, System.String, System.String, System.ValueTuple<System.String, System.String, System.Collections.Generic.IList<SamlAttribute>, System.String, System.String, System.String>>

The delegate called prior to calling InitiateSsoAsync.

Remarks

The InitiateSsoAsync parameters may be modified if required.

OnSendSlo

Gets or sets the optional delegate called prior to calling SendSloAsync.

Declaration
public Func<HttpContext, string, string> OnSendSlo { get; set; }
Property Value
Type Description
System.Func<Microsoft.AspNetCore.Http.HttpContext, System.String, System.String>

The delegate called prior to calling SendSloAsync.

Remarks

The SendSloAsync parameters may be modified if required.

OnSendSso

Gets or sets the optional delegate called prior to calling SendSsoAsync.

Declaration
public Func<HttpContext, string, IList<SamlAttribute>, string, string, (string, IList<SamlAttribute>, string, string, Status)> OnSendSso { get; set; }
Property Value
Type Description
System.Func<Microsoft.AspNetCore.Http.HttpContext, System.String, System.Collections.Generic.IList<SamlAttribute>, System.String, System.String, System.ValueTuple<System.String, System.Collections.Generic.IList<SamlAttribute>, System.String, System.String, Status>>

The delegate called prior to calling SendSsoAsync.

Remarks

The SendSsoAsync parameters may be modified if required.

Implements

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