Class RoleValidatorAspectAttribute
Validates if the caller have sufficient privileges to call module methods.
Inherited Members
Solti.Utils.DI.Interfaces.AspectAttribute.GetInterceptor(Solti.Utils.DI.Interfaces.IInjector, System.Type, System.Object)
Solti.Utils.DI.Interfaces.AspectAttribute.Kind
Namespace: Solti.Utils.Rpc.Interfaces
Assembly: Solti.Utils.Rpc.Interfaces.dll
Syntax
[AttributeUsage(AttributeTargets.Interface, AllowMultiple = false)]
public sealed class RoleValidatorAspectAttribute : AspectAttribute
Remarks
In order to use this aspect you have to implement and register the IRoleManager service.
Methods
GetInterceptorType(Type)
Declaration
public override Type GetInterceptorType(Type iface)
Parameters
Type | Name | Description |
---|---|---|
Type | iface |
Returns
Type | Description |
---|---|
Type |
Overrides
Solti.Utils.DI.Interfaces.AspectAttribute.GetInterceptorType(System.Type)