AuthorizeAttribute
Members
Namespace: ASPSecurityKit.Authorization
Assembly: ASPSecurityKit.dll
Summary
Attribute to indicate that a given property or operation parameter should be authorized by the IEntityIdAuthorizer. Use this attribute to specify such properties or operation parameter which the IdMemberSelector would not otherwise match for id authorization.
Constructors
#ctor(idMemberName)
Summary
Initializes a new instance of the AuthorizeAttribute class.
Parameters
Name | Type | Description |
---|---|---|
idMemberName | System.String | The name of the entityId associated with this instance to be used in obtaining references from IReferencesProvider<TIdMemberReference>. Specify this when the associated member name is generic like ‘id’ while the references provider is implemented with a specific name say ‘UserPermitId’. |
Properties
IdMemberName
Summary
Gets the name of the entityId associated with this instance to be used in obtaining references from IReferencesProvider<TIdMemberReference>. Specify this when the associated member name is generic like ‘id’ while the references provider is implemented with a specific name say ‘UserPermitId’.
Value
The name of the entityId associated with this instance.