Class AuthorizationInterceptor
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.Authorization
Assembly: Volo.Abp.Authorization.dll
Syntax
public class AuthorizationInterceptor : AbpInterceptor, IAbpInterceptor, ITransientDependency
Constructors
AuthorizationInterceptor(IMethodInvocationAuthorizationService)
Declaration
public AuthorizationInterceptor(IMethodInvocationAuthorizationService methodInvocationAuthorizationService)
Parameters
Type | Name | Description |
---|---|---|
IMethodInvocationAuthorizationService | methodInvocationAuthorizationService |
Methods
AuthorizeAsync(IAbpMethodInvocation)
Declaration
protected virtual Task AuthorizeAsync(IAbpMethodInvocation invocation)
Parameters
Type | Name | Description |
---|---|---|
IAbpMethodInvocation | invocation |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task |
InterceptAsync(IAbpMethodInvocation)
Declaration
public override Task InterceptAsync(IAbpMethodInvocation invocation)
Parameters
Type | Name | Description |
---|---|---|
IAbpMethodInvocation | invocation |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task |