AuthPermissionAttribute
Members
Namespace: ASPSecurityKit.ServiceStack
Assembly: ASPSecurityKit.ServiceStack.dll
Summary
Attribute to indicate the complete permission code for the associated request for activity-based authorization checks.
Remarks
You should prefer using this attribute when you want to override the complete permissionCode for the associated request.
Constructors
#ctor(permissionCode,applyTo)
Summary
Initializes a new instance of the AuthPermissionAttribute class.
Parameters
Name | Type | Description |
---|---|---|
permissionCode | System.String | The permission code for the associated request. |
applyTo | ServiceStack.ApplyTo | Determines to which http method call it applies. |
Properties
PermissionCode
Summary
Gets the permission code.
Value
The permission code.