Interface ISecretParser
- Namespace
- Duende.IdentityServer.Validation
- Assembly
- Duende.IdentityServer.dll
A service for parsing secrets found on the request
public interface ISecretParser
Properties
AuthenticationMethod
Returns the authentication method name that this parser implements
string AuthenticationMethod { get; }
Property Value
- string
The authentication method.
Methods
ParseAsync(HttpContext)
Tries to find a secret on the context that can be used for authentication
Task<ParsedSecret?> ParseAsync(HttpContext context)
Parameters
context
HttpContextThe HTTP context.
Returns
- Task<ParsedSecret>
A parsed secret