JwtAssertionAuthenticatorBase Class
Abblix.Oidc.Server
Abblix.Oidc.Server.Features.ClientAuthentication
JwtAssertionAuthenticatorBase Class
Base class for JWT assertion-based client authenticators, providing common validation logic for both private_key_jwt and client_secret_jwt authentication methods.
public abstract class JwtAssertionAuthenticatorBase : Abblix.Oidc.Server.Features.ClientAuthentication.IClientAuthenticator
Inheritance System.Object → JwtAssertionAuthenticatorBase
Derived
↳ ClientSecretJwtAuthenticator
↳ PrivateKeyJwtAuthenticator
Implements IClientAuthenticator
Properties
JwtAssertionAuthenticatorBase.ClientAuthenticationMethodsSupported Property
Specifies the client authentication methods supported by this authenticator.
public abstract System.Collections.Generic.IEnumerable<string> ClientAuthenticationMethodsSupported { get; }
Implements ClientAuthenticationMethodsSupported
Property Value
System.Collections.Generic.IEnumerable<System.String>
Methods
JwtAssertionAuthenticatorBase.TryAuthenticateClientAsync(ClientRequest) Method
Attempts to authenticate a client using JWT assertion by validating the JWT provided in the client request.
public System.Threading.Tasks.Task<Abblix.Oidc.Server.Features.ClientInformation.ClientInfo?> TryAuthenticateClientAsync(Abblix.Oidc.Server.Model.ClientRequest request);
Parameters
request ClientRequest
The client request containing the JWT to authenticate.
Implements TryAuthenticateClientAsync(ClientRequest)
Returns
System.Threading.Tasks.Task<ClientInfo>
The authenticated ClientInfo, or null if authentication fails.