Interface IIdentityResourceRepository
Assembly: Volo.Abp.IdentityServer.Domain.dll
Syntax
public interface IIdentityResourceRepository : IBasicRepository<IdentityResource, Guid>
Methods
CheckNameExistAsync(String, Nullable<Guid>, CancellationToken)
Declaration
Task<bool> CheckNameExistAsync(string name, Guid? expectedId = default(Guid? ), CancellationToken cancellationToken = default(CancellationToken))
Parameters
Type |
Name |
Description |
System.String |
name |
|
System.Nullable<System.Guid> |
expectedId |
|
System.Threading.CancellationToken |
cancellationToken |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Boolean> |
|
FindByNameAsync(String, Boolean, CancellationToken)
Declaration
Task<IdentityResource> FindByNameAsync(string name, bool includeDetails = true, CancellationToken cancellationToken = default(CancellationToken))
Parameters
Type |
Name |
Description |
System.String |
name |
|
System.Boolean |
includeDetails |
|
System.Threading.CancellationToken |
cancellationToken |
|
Returns
GetListAsync(String, Int32, Int32, String, Boolean, CancellationToken)
Declaration
Task<List<IdentityResource>> GetListAsync(string sorting, int skipCount, int maxResultCount, string filter = null, bool includeDetails = false, CancellationToken cancellationToken = default(CancellationToken))
Parameters
Type |
Name |
Description |
System.String |
sorting |
|
System.Int32 |
skipCount |
|
System.Int32 |
maxResultCount |
|
System.String |
filter |
|
System.Boolean |
includeDetails |
|
System.Threading.CancellationToken |
cancellationToken |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Collections.Generic.List<IdentityResource>> |
|
GetListByScopesAsync(String[], Boolean, CancellationToken)
Declaration
Task<List<IdentityResource>> GetListByScopesAsync(string[] scopeNames, bool includeDetails = false, CancellationToken cancellationToken = default(CancellationToken))
Parameters
Type |
Name |
Description |
System.String[] |
scopeNames |
|
System.Boolean |
includeDetails |
|
System.Threading.CancellationToken |
cancellationToken |
|
Returns
Type |
Description |
System.Threading.Tasks.Task<System.Collections.Generic.List<IdentityResource>> |
|
Extension Methods