IServiceStackSecuritySettings

Namespace: ASPSecurityKit.ServiceStack
Assembly: ASPSecurityKit.ServiceStack.dll

Summary

Defines service stack related configuration settings for security pipeline.

Properties

DTONameAsPermission

Summary

Gets or sets a value indicating whether to consider dto name as the permission code. The default is true.

Value

true if dto name should be considered as the permission code; otherwise, false.

Remarks

This property is helpful for services with SOAP support because in Service Stack each http method has its own dto. However, this is a general setting and if AuthAction/AuthEntity attributes are defined for a specific http method, they’ll override this behavior.

DTOSuffix

Summary

Gets or sets the suffix to be ignored while computing permission code from request DTOs.

Value

The suffix to be ignored while computing permission code from request DTOs.