Class IResourceStoreExtensions
- Namespace
- Duende.IdentityServer.Stores
- Assembly
- Duende.IdentityServer.dll
Extensions for IResourceStore
public static class IResourceStoreExtensions
- Inheritance
-
IResourceStoreExtensions
- Inherited Members
Methods
FindEnabledApiResourcesByNameAsync(IResourceStore, IEnumerable<string>)
Finds the enabled API resources by name.
public static Task<IEnumerable<ApiResource>> FindEnabledApiResourcesByNameAsync(this IResourceStore store, IEnumerable<string> resourceNames)
Parameters
storeIResourceStoreresourceNamesIEnumerable<string>
Returns
- Task<IEnumerable<ApiResource>>
FindEnabledIdentityResourcesByScopeAsync(IResourceStore, IEnumerable<string>)
Finds the enabled identity resources by scope.
public static Task<IEnumerable<IdentityResource>> FindEnabledIdentityResourcesByScopeAsync(this IResourceStore store, IEnumerable<string> scopeNames)
Parameters
storeIResourceStoreThe store.
scopeNamesIEnumerable<string>The scope names.
Returns
- Task<IEnumerable<IdentityResource>>
FindEnabledResourcesByScopeAsync(IResourceStore, IEnumerable<string>)
Finds the enabled resources by scope.
public static Task<Resources> FindEnabledResourcesByScopeAsync(this IResourceStore store, IEnumerable<string> scopeNames)
Parameters
storeIResourceStoreThe store.
scopeNamesIEnumerable<string>The scope names.
Returns
- Task<Resources>
FindResourcesByScopeAsync(IResourceStore, IEnumerable<string>)
Finds the resources by scope.
public static Task<Resources> FindResourcesByScopeAsync(this IResourceStore store, IEnumerable<string> scopeNames)
Parameters
storeIResourceStoreThe store.
scopeNamesIEnumerable<string>The scope names.
Returns
- Task<Resources>
GetAllEnabledResourcesAsync(IResourceStore)
Gets all enabled resources.
public static Task<Resources> GetAllEnabledResourcesAsync(this IResourceStore store)
Parameters
storeIResourceStoreThe store.
Returns
- Task<Resources>