IClientAuthenticator Interface
Abblix.Oidc.Server
Abblix.Oidc.Server.Features.ClientAuthentication
IClientAuthenticator Interface
Defines the interface for client authentication, supporting various authentication methods during OAuth flows.
public interface IClientAuthenticator
Derived
↳ ClientSecretBasicAuthenticator
↳ ClientSecretPostAuthenticator
↳ JwtAssertionAuthenticatorBase
↳ NoneClientAuthenticator
↳ TlsClientAuthenticator
↳ TlsMetadataClientAuthenticator
Properties
IClientAuthenticator.ClientAuthenticationMethodsSupported Property
Specifies the authentication methods supported by this authenticator. This property should return a value that identifies the authentication scheme (e.g., "client_secret_basic", "private_key_jwt") supported by the implementer.
System.Collections.Generic.IEnumerable<string> ClientAuthenticationMethodsSupported { get; }
Property Value
System.Collections.Generic.IEnumerable<System.String>
Methods
IClientAuthenticator.TryAuthenticateClientAsync(ClientRequest) Method
Attempts to authenticate a client based on the provided request. It verifies the client's credentials and determines the authenticity of the client.
System.Threading.Tasks.Task<Abblix.Oidc.Server.Features.ClientInformation.ClientInfo?> TryAuthenticateClientAsync(Abblix.Oidc.Server.Model.ClientRequest request);
Parameters
request ClientRequest
The client request containing authentication information.
Returns
System.Threading.Tasks.Task<ClientInfo>
A task that resolves to the authenticated ClientInfo if successful,
or null if authentication fails.