Show / Hide Table of Contents

Interface IApiResourceRepository

Namespace: Volo.Abp.IdentityServer.ApiResources
Assembly: Volo.Abp.IdentityServer.Domain.dll
Syntax
public interface IApiResourceRepository : IBasicRepository<ApiResource, 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<ApiResource> 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
Type Description
System.Threading.Tasks.Task<ApiResource>

GetListAsync(Boolean, CancellationToken)

Declaration
Task<List<ApiResource>> GetListAsync(bool includeDetails = false, CancellationToken cancellationToken = default(CancellationToken))
Parameters
Type Name Description
System.Boolean includeDetails
System.Threading.CancellationToken cancellationToken
Returns
Type Description
System.Threading.Tasks.Task<System.Collections.Generic.List<ApiResource>>

GetListAsync(String, Int32, Int32, String, Boolean, CancellationToken)

Declaration
Task<List<ApiResource>> 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<ApiResource>>

GetListByScopesAsync(String[], Boolean, CancellationToken)

Declaration
Task<List<ApiResource>> 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<ApiResource>>

Extension Methods

AbpObjectExtensions.As<T>(Object)
AbpObjectExtensions.To<T>(Object)
AbpObjectExtensions.IsIn<T>(T, T[])
AbpObjectExtensions.If<T>(T, Boolean, Func<T, T>)
AbpObjectExtensions.If<T>(T, Boolean, Action<T>)
LockExtensions.Locking(Object, Action)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<TResult>(Object, Func<TResult>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
Back to top Powered by Volosoft