Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
interface Duende.​IdentityServer.​Services.​IKeyMaterialService
Assembly: Duende.IdentityServer
Interface for the key material service
Methods
System.​Threading.​Tasks.​Task<​System.​Collections.​Generic.​IEnumerable<​Models.​SecurityKeyInfo>>
GetValidationKeysAsync​()
Gets all validation keys.
System.​Threading.​Tasks.​Task<​Microsoft.​IdentityModel.​Tokens.​SigningCredentials>
GetSigningCredentialsAsync​(System.​Collections.​Generic.​IEnumerable?<​string> allowedAlgorithms = null)
Gets the signing credentials.
allowedAlgorithms
Collection of algorithms used to filter the server supported algorithms.
A value of null or empty indicates that the server default should be returned.
System.​Threading.​Tasks.​Task<​System.​Collections.​Generic.​IEnumerable<​Microsoft.​IdentityModel.​Tokens.​SigningCredentials>>
GetAllSigningCredentialsAsync​()
Gets all signing credentials.