RegistrationOptions

Namespace: ASPSecurityKit.Net
Assembly: ASPSecurityKit.Net.dll

Summary

Defines options for ASP Security Kit plugin registration.

Properties

DoNotThrowExceptionIfAuthDefinitionParametersMismatch

Summary

Gets or sets a value indicating whether to throw an exception when an action method is found for an auth definition but does not have matching parameters. The default is false (exception will be thrown).

Value

A value indicating whether to throw an exception when an action method is found for an auth definition but does not have matching parameters. The default is false (exception will be thrown).

ThrowExceptionIfActionNotFound

Summary

Gets or sets a value indicating whether to throw an exception when a matching action method is not found for an auth definition. The default is false (exception will not be thrown).

Value

A value indicating whether to throw an exception when a matching action method is not found for an auth definition. The default is false (exception will not be thrown).

RequireParameterNameComparisonToMatchActionMethod

Summary

Gets or sets a value indicating whether to compare parameter names while locating a matching action method. The default is false.

Value

A value indicating whether to compare parameter names while locating a matching action method.