Interface ISecretsListParser
- Namespace
- Fdyay.IdentityServer.Validation
- Assembly
- Fdyay.IdentityServer.AspNetCore.dll
Takes a credential off a request using every registered ISecretParser.
public interface ISecretsListParser
Methods
GetAvailableAuthenticationMethods()
The authentication methods the registered parsers between them support.
IEnumerable<string> GetAvailableAuthenticationMethods()
Returns
ParseAsync(HttpContext, CancellationToken)
The credential the first registered parser recognises, or null when none recognises one.
Task<ParsedSecret?> ParseAsync(HttpContext context, CancellationToken cancellationToken = default)
Parameters
contextHttpContextThe request carrying the credential.
cancellationTokenCancellationTokenCancels the read.
Returns
- Task<ParsedSecret>
The credential, unchecked, or null.