Class ScopedPermissionChecker
Inheritance
System.Object
ScopedPermissionChecker
Assembly: OpenMod.Core.dll
Syntax
public class ScopedPermissionChecker : object, IPermissionChecker
Constructors
|
Improve this Doc
View Source
ScopedPermissionChecker(IRuntime, Lazy<IOpenModComponent>)
Declaration
public ScopedPermissionChecker(IRuntime runtime, Lazy<IOpenModComponent> component)
Parameters
Properties
|
Improve this Doc
View Source
PermissionCheckProviders
Declaration
public IReadOnlyCollection<IPermissionCheckProvider> PermissionCheckProviders { get; }
Property Value
|
Improve this Doc
View Source
PermissionStores
Declaration
public IReadOnlyCollection<IPermissionStore> PermissionStores { get; }
Property Value
Methods
|
Improve this Doc
View Source
CheckPermissionAsync(IPermissionActor, String)
Declaration
public Task<PermissionGrantResult> CheckPermissionAsync(IPermissionActor actor, string permission)
Parameters
Returns
|
Improve this Doc
View Source
InitAsync()
Declaration
Returns
Implements
Extension Methods