Class DefaultKeyMaterialService
- Namespace
- Duende.IdentityServer.Services
- Assembly
- Duende.IdentityServer.dll
The default key material service
public class DefaultKeyMaterialService : IKeyMaterialService
- Inheritance
-
DefaultKeyMaterialService
- Implements
- Inherited Members
Constructors
DefaultKeyMaterialService(IEnumerable<IValidationKeysStore>, IEnumerable<ISigningCredentialStore>, IAutomaticKeyManagerKeyStore)
Initializes a new instance of the DefaultKeyMaterialService class.
public DefaultKeyMaterialService(IEnumerable<IValidationKeysStore> validationKeysStores, IEnumerable<ISigningCredentialStore> signingCredentialStores, IAutomaticKeyManagerKeyStore keyManagerKeyStore)
Parameters
validationKeysStores
IEnumerable<IValidationKeysStore>The validation keys stores.
signingCredentialStores
IEnumerable<ISigningCredentialStore>The signing credential store.
keyManagerKeyStore
IAutomaticKeyManagerKeyStoreThe store for automatic key management.
- See Also
Methods
GetAllSigningCredentialsAsync()
public Task<IEnumerable<SigningCredentials>> GetAllSigningCredentialsAsync()
Returns
- Task<IEnumerable<SigningCredentials>>
- See Also
GetSigningCredentialsAsync(IEnumerable<string>)
public Task<SigningCredentials> GetSigningCredentialsAsync(IEnumerable<string> allowedAlgorithms = null)
Parameters
allowedAlgorithms
IEnumerable<string>
Returns
- Task<SigningCredentials>
- See Also
GetValidationKeysAsync()
public Task<IEnumerable<SecurityKeyInfo>> GetValidationKeysAsync()
Returns
- See Also