Class SamlAuthenticationEvents
Events associated with the SAML authentication handler.
Inherited Members
Namespace: ComponentSpace.Saml2.Authentication
Assembly: ComponentSpace.Saml2.dll
Syntax
public class SamlAuthenticationEvents : SamlServiceProviderEvents, ISamlServiceProviderEvents, 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, string, string)> OnInitiateSlo { get; set; }
Property Value
Type | Description |
---|---|
System.Func<Microsoft.AspNetCore.Http.HttpContext, System.String, System.String, System.String, System.ValueTuple<System.String, System.String, System.String>> | The delegate called prior to calling |
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, ISsoOptions, (string, string, ISsoOptions)> OnInitiateSso { get; set; }
Property Value
Type | Description |
---|---|
System.Func<Microsoft.AspNetCore.Http.HttpContext, System.String, System.String, ISsoOptions, System.ValueTuple<System.String, System.String, ISsoOptions>> | The delegate called prior to calling |
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 |
Remarks
The SendSloAsync
parameters may be modified if required.