Click or drag to resize
SecurityMethodAttribute Class
用于验证方法所需要的权限
Inheritance Hierarchy

Namespace: X3Platform.Security
Assembly: X3Platform.Abstractions (in X3Platform.Abstractions.dll) Version: 1.0.0.0 (2.0.0.0)
Syntax
public abstract class SecurityMethodAttribute : Attribute

The SecurityMethodAttribute type exposes the following members.

Constructors
  NameDescription
Protected methodSecurityMethodAttribute
Initializes a new instance of the SecurityMethodAttribute class
Top
Methods
  NameDescription
Public methodCheck
验证权限方法,在 ContextAuthorityInfoValidSink 中调用此方法进行验证.
Public methodEquals (Inherited from Attribute.)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode (Inherited from Attribute.)
Public methodGetType (Inherited from Object.)
Public methodIsDefaultAttribute (Inherited from Attribute.)
Public methodMatch (Inherited from Attribute.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)
Top
Properties
  NameDescription
Protected propertyAccount
用户信息,可以自行编写取得当前用户信息的方法
Public propertyLoginName
登录名
Public propertyTypeId (Inherited from Attribute.)
Top
See Also