Security utilities for Offlineer including JWKS and JWT validation support
$ dotnet add package Offlineer.Lib.SecurityA .NET security library for Offlineer providing JWKS (JSON Web Key Set) utilities for JWT validation.
dotnet add package Offlineer.Lib.Security
using Offlineer.Lib;
using Offlineer.Lib.Security;
// Fetch JWKS public key for JWT validation
var jwksPair = await JWKS.GetJwksAsync();
Console.WriteLine($"Key ID: {jwksPair.KeyID}");
Console.WriteLine($"Public Key: {jwksPair.PublicKey}");
GetJwksAsync(Env env) - Fetches and caches the JWKS public key for the specified environmentJwksJson(Env env) - Returns the JWKS endpoint URL for the specified environmentMIT