Table of Contents

Class SamlAuthenticationEvents

Namespace
ComponentSpace.Saml2.Authentication
Assembly
ComponentSpace.Saml2.dll

Events associated with the SAML authentication handler.

public class SamlAuthenticationEvents : SamlServiceProviderEvents, ISamlServiceProviderEvents, ISamlProviderEvents
Inheritance
SamlAuthenticationEvents
Implements
Inherited Members

Properties

OnError

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

public Func<HttpContext, Exception, bool> OnError { get; set; }

Property Value

Func<HttpContext, Exception, bool>

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.

public Func<HttpContext, string, string, string, (string, string, string)> OnInitiateSlo { get; set; }

Property Value

Func<HttpContext, string, string, string, (string, string, 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.

public Func<HttpContext, string, string, ISsoOptions, (string, string, ISsoOptions)> OnInitiateSso { get; set; }

Property Value

Func<HttpContext, string, string, ISsoOptions, (string, string, ISsoOptions)>

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.

public Func<HttpContext, string, string> OnSendSlo { get; set; }

Property Value

Func<HttpContext, string, string>

The delegate called prior to calling SendSloAsync.

Remarks

The SendSloAsync parameters may be modified if required.