Show / Hide Table of Contents

Class PermissionSimpleStateCheckerExtensions

Inheritance
object
PermissionSimpleStateCheckerExtensions
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 static class PermissionSimpleStateCheckerExtensions

Methods

RequireAuthenticated<TState>(TState)

Declaration
public static TState RequireAuthenticated<TState>(this TState state) where TState : IHasSimpleStateCheckers<TState>
Parameters
Type Name Description
TState state
Returns
Type Description
TState
Type Parameters
Name Description
TState

RequirePermissions<TState>(TState, bool, bool, params string[])

Declaration
public static TState RequirePermissions<TState>(this TState state, bool requiresAll, bool batchCheck, params string[] permissions) where TState : IHasSimpleStateCheckers<TState>
Parameters
Type Name Description
TState state
bool requiresAll
bool batchCheck
string[] permissions
Returns
Type Description
TState
Type Parameters
Name Description
TState

RequirePermissions<TState>(TState, bool, params string[])

Declaration
public static TState RequirePermissions<TState>(this TState state, bool requiresAll, params string[] permissions) where TState : IHasSimpleStateCheckers<TState>
Parameters
Type Name Description
TState state
bool requiresAll
string[] permissions
Returns
Type Description
TState
Type Parameters
Name Description
TState

RequirePermissions<TState>(TState, params string[])

Declaration
public static TState RequirePermissions<TState>(this TState state, params string[] permissions) where TState : IHasSimpleStateCheckers<TState>
Parameters
Type Name Description
TState state
string[] permissions
Returns
Type Description
TState
Type Parameters
Name Description
TState
In this article
Back to top Powered by ABP.IO Platform