NoActionSecurityEvents

Namespace: ASPSecurityKit
Assembly: ASPSecurityKit.dll

Summary

Provides an implementation of ISecurityEvents that does nothing. You can inherit from this implementation and override the event(s) you want to do custom processing upon.

Methods

OnAuthenticated(req)

Summary

Raised when authentication is established successfully for the incoming request.

Parameters
Name Type Description
req ASPSecurityKit.IRequestService The request service.

OnMultiFactorVerified(req)

Summary

Raised when multi-factor is verified successfully for the incoming request (not if MFA isn’t performed for example due to user hasn’t enabled it or it is skipped because request is marked with MFANotRequired).

Parameters
Name Type Description
req ASPSecurityKit.IRequestService The request service.

OnActivityAuthorizing(req)

Summary

Raised just before performing the activity authorization of the incoming request (not if it is skipped because request is marked with ActivityAuthorizationNotRequired).

Parameters
Name Type Description
req ASPSecurityKit.IRequestService The request service.

OnActivityAuthorized(req)

Summary

Raised when activity authorization was performed successfully for the incoming request (not if it is skipped because request is marked with ActivityAuthorizationNotRequired).

Parameters
Name Type Description
req ASPSecurityKit.IRequestService The request service.

OnAuthorized(requestService)

Summary

Raised when authorization is completed successfully for the incoming request.

Parameters
Name Type Description
requestService ASPSecurityKit.IRequestService The request service.

OnAuthenticatedAsync(req)

Summary

Raised when authentication is established successfully for the incoming request.

Parameters
Name Type Description
req ASPSecurityKit.IRequestService The request service.

OnAuthenticatedAsync(req,cancellationToken)

Summary

Raised when authentication is established successfully for the incoming request.

Parameters
Name Type Description
req ASPSecurityKit.IRequestService The request service.
cancellationToken System.Threading.CancellationToken The cancellation token.

OnMultiFactorVerifiedAsync(req)

Summary

Raised when multi-factor is verified successfully for the incoming request (not if MFA isn’t performed for example due to user hasn’t enabled it or it is skipped because request is marked with MFANotRequired).

Parameters
Name Type Description
req ASPSecurityKit.IRequestService The request service.

OnMultiFactorVerifiedAsync(req,cancellationToken)

Summary

Raised when multi-factor is verified successfully for the incoming request (not if MFA isn’t performed for example due to user hasn’t enabled it or it is skipped because request is marked with MFANotRequired).

Parameters
Name Type Description
req ASPSecurityKit.IRequestService The request service.
cancellationToken System.Threading.CancellationToken The cancellation token.

OnActivityAuthorizingAsync(req)

Summary

Raised just before performing the activity authorization of the incoming request (not if it is skipped because request is marked with ActivityAuthorizationNotRequired).

Parameters
Name Type Description
req ASPSecurityKit.IRequestService The request service.

OnActivityAuthorizingAsync(req,cancellationToken)

Summary

Raised just before performing the activity authorization of the incoming request (not if it is skipped because request is marked with ActivityAuthorizationNotRequired).

Parameters
Name Type Description
req ASPSecurityKit.IRequestService The request service.
cancellationToken System.Threading.CancellationToken The cancellation token.

OnActivityAuthorizedAsync(req)

Summary

Raised when activity authorization was performed successfully for the incoming request (not if it is skipped because request is marked with ActivityAuthorizationNotRequired).

Parameters
Name Type Description
req ASPSecurityKit.IRequestService The request service.

OnActivityAuthorizedAsync(req,cancellationToken)

Summary

Raised when activity authorization was performed successfully for the incoming request (not if it is skipped because request is marked with ActivityAuthorizationNotRequired).

Parameters
Name Type Description
req ASPSecurityKit.IRequestService The request service.
cancellationToken System.Threading.CancellationToken The cancellation token.

OnAuthorizedAsync(requestService)

Summary

Raised when authorization is completed successfully for the incoming request.

Parameters
Name Type Description
requestService ASPSecurityKit.IRequestService The request service.

OnAuthorizedAsync(requestService,cancellationToken)

Summary

Raised when authorization is completed successfully for the incoming request.

Parameters
Name Type Description
requestService ASPSecurityKit.IRequestService The request service.
cancellationToken System.Threading.CancellationToken The cancellation token.