ClientKeysProvider Class
Abblix.Oidc.Server
Abblix.Oidc.Server.Features.ClientInformation
ClientKeysProvider Class
Facilitates the retrieval of JSON Web Keys (JWKs) for cryptographic operations, including encryption and signing. This provider supports fetching keys from a client's JSON Web Key Set (JWKS) URL or directly from the client configuration.
public class ClientKeysProvider : Abblix.Oidc.Server.Features.ClientInformation.IClientKeysProvider
Inheritance System.Object → ClientKeysProvider
Implements IClientKeysProvider
Constructors
ClientKeysProvider(ILogger<ClientKeysProvider>, IServiceProvider) Constructor
Facilitates the retrieval of JSON Web Keys (JWKs) for cryptographic operations, including encryption and signing. This provider supports fetching keys from a client's JSON Web Key Set (JWKS) URL or directly from the client configuration.
public ClientKeysProvider(Microsoft.Extensions.Logging.ILogger<Abblix.Oidc.Server.Features.ClientInformation.ClientKeysProvider> logger, System.IServiceProvider serviceProvider);
Parameters
logger Microsoft.Extensions.Logging.ILogger<ClientKeysProvider>
Logger for capturing any operational logs.
serviceProvider System.IServiceProvider
Service provider used to resolve scoped dependencies like ISecureHttpFetcher.
Methods
ClientKeysProvider.GetEncryptionKeys(ClientInfo) Method
Retrieves the encryption keys associated with a specific client.
public System.Collections.Generic.IAsyncEnumerable<Abblix.Jwt.JsonWebKey> GetEncryptionKeys(Abblix.Oidc.Server.Features.ClientInformation.ClientInfo clientInfo);
Parameters
clientInfo ClientInfo
Client information containing either JWKS or a JWKS URI.
Implements GetEncryptionKeys(ClientInfo)
Returns
System.Collections.Generic.IAsyncEnumerable<JsonWebKey>
A collection of encryption keys as an asynchronous enumerable.
ClientKeysProvider.GetSigningKeys(ClientInfo) Method
Retrieves the signing keys associated with a specific client.
public System.Collections.Generic.IAsyncEnumerable<Abblix.Jwt.JsonWebKey> GetSigningKeys(Abblix.Oidc.Server.Features.ClientInformation.ClientInfo clientInfo);
Parameters
clientInfo ClientInfo
Client information containing either JWKS or a JWKS URI.
Implements GetSigningKeys(ClientInfo)
Returns
System.Collections.Generic.IAsyncEnumerable<JsonWebKey>
A collection of signing keys as an asynchronous enumerable.