Table of Contents

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

IEnumerable<string>

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

context HttpContext

The request carrying the credential.

cancellationToken CancellationToken

Cancels the read.

Returns

Task<ParsedSecret>

The credential, unchecked, or null.