ServiceStackSecuritySettings

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

Summary

Implements the IServiceStackSecuritySettings.

Constructors

#ctor(config)

Summary

Initializes a new instance of the ServiceStackSecuritySettings class.

Parameters
Name Type Description
config ASPSecurityKit.IConfig The config.

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.