Table of Contents

Interface IResourceStore

Namespace
Fdyay.IdentityServer.Stores
Assembly
Fdyay.IdentityServer.Core.dll

Retrieves identity and API resource configuration.

public interface IResourceStore

Methods

FindApiResourcesByNameAsync(IEnumerable<string>, CancellationToken)

Gets API resources by resource name.

Task<IEnumerable<ApiResource>> FindApiResourcesByNameAsync(IEnumerable<string> apiResourceNames, CancellationToken cancellationToken = default)

Parameters

apiResourceNames IEnumerable<string>
cancellationToken CancellationToken

Returns

Task<IEnumerable<ApiResource>>

FindApiResourcesByScopeNameAsync(IEnumerable<string>, CancellationToken)

Gets API resources that claim any of the given scope names.

Task<IEnumerable<ApiResource>> FindApiResourcesByScopeNameAsync(IEnumerable<string> scopeNames, CancellationToken cancellationToken = default)

Parameters

scopeNames IEnumerable<string>
cancellationToken CancellationToken

Returns

Task<IEnumerable<ApiResource>>

FindApiScopesByNameAsync(IEnumerable<string>, CancellationToken)

Gets API scopes by scope name.

Task<IEnumerable<ApiScope>> FindApiScopesByNameAsync(IEnumerable<string> scopeNames, CancellationToken cancellationToken = default)

Parameters

scopeNames IEnumerable<string>
cancellationToken CancellationToken

Returns

Task<IEnumerable<ApiScope>>

FindIdentityResourcesByScopeNameAsync(IEnumerable<string>, CancellationToken)

Gets identity resources by scope name.

Task<IEnumerable<IdentityResource>> FindIdentityResourcesByScopeNameAsync(IEnumerable<string> scopeNames, CancellationToken cancellationToken = default)

Parameters

scopeNames IEnumerable<string>
cancellationToken CancellationToken

Returns

Task<IEnumerable<IdentityResource>>

GetAllResourcesAsync(CancellationToken)

Gets all resources.

Task<Resources> GetAllResourcesAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

Returns

Task<Resources>