Class RequireAuthenticatedSimpleStateChecker<TState>
Inheritance
object
RequireAuthenticatedSimpleStateChecker<TState>
Implements
ISimpleStateChecker<TState>
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.Permissions
Assembly: Volo.Abp.Authorization.dll
Syntax
public class RequireAuthenticatedSimpleStateChecker<TState> : ISimpleStateChecker<TState> where TState : IHasSimpleStateCheckers<TState>
Type Parameters
Name | Description |
---|---|
TState |
Constructors
RequireAuthenticatedSimpleStateChecker()
Declaration
public RequireAuthenticatedSimpleStateChecker()
Methods
IsEnabledAsync(SimpleStateCheckerContext<TState>)
Declaration
public Task<bool> IsEnabledAsync(SimpleStateCheckerContext<TState> context)
Parameters
Type | Name | Description |
---|---|---|
SimpleStateCheckerContext<TState> | context |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<TResult><bool> |