Interface IKeyMaterialService
- Namespace
- Duende.IdentityServer.Services
- Assembly
- Duende.IdentityServer.dll
Interface for the key material service
public interface IKeyMaterialService
Methods
GetAllSigningCredentialsAsync()
Gets all signing credentials.
Task<IEnumerable<SigningCredentials>> GetAllSigningCredentialsAsync()
Returns
- Task<IEnumerable<SigningCredentials>>
GetSigningCredentialsAsync(IEnumerable<string>?)
Gets the signing credentials.
Task<SigningCredentials> GetSigningCredentialsAsync(IEnumerable<string>? allowedAlgorithms = null)
Parameters
allowedAlgorithms
IEnumerable<string>Collection of algorithms used to filter the server supported algorithms. A value of null or empty indicates that the server default should be returned.
Returns
- Task<SigningCredentials>
GetValidationKeysAsync()
Gets all validation keys.
Task<IEnumerable<SecurityKeyInfo>> GetValidationKeysAsync()