Class FakePermissionStore
Inheritance
object
FakePermissionStore
Inherited Members
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.UI.Navigation
Assembly: Volo.Abp.UI.Navigation.Tests.dll
Syntax
public class FakePermissionStore : IPermissionStore, ITransientDependency
Constructors
FakePermissionStore()
Declaration
public FakePermissionStore()
Methods
IsGrantedAsync(string, string, string)
Declaration
public Task<bool> IsGrantedAsync(string name, string providerName, string providerKey)
Parameters
| Type | Name | Description |
|---|---|---|
| string | name | |
| string | providerName | |
| string | providerKey |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<TResult><bool> |
IsGrantedAsync(string[], string, string)
Declaration
public Task<MultiplePermissionGrantResult> IsGrantedAsync(string[] names, string providerName, string providerKey)
Parameters
| Type | Name | Description |
|---|---|---|
| string[] | names | |
| string | providerName | |
| string | providerKey |
Returns
| Type | Description |
|---|---|
| System.Threading.Tasks.Task<TResult><MultiplePermissionGrantResult> |