Interface IRoleStore
Represents an interface for storing role information.
Namespace: DataWeb.Identity
Assembly: DataWeb.Core.dll
Syntax
public interface IRoleStore
Properties
Name
Gets the name of the role store.
Declaration
string Name { get; }
Property Value
Type | Description |
---|---|
string |
Methods
GetRolesAsync(CancellationToken)
Gets a list of role data.
Declaration
Task<IEnumerable<RoleData>> GetRolesAsync(CancellationToken cancellationToken = default)
Parameters
Type | Name | Description |
---|---|---|
CancellationToken | cancellationToken |
Returns
Type | Description |
---|---|
Task<IEnumerable<RoleData>> | A list of role data. |