JWT Client

TsgcHTTPJWTClient component for consuming and validating JSON Web Tokens in Delphi client applications.

Capabilities

  • Decode and validate JWT tokens from authorization servers
  • Automatic JWKS key retrieval and caching
  • Verify signatures with RS256, ES256, HS256
  • Claims extraction with type-safe accessors
  • Token expiration and audience validation

Delphi Example

uses
  sgcHTTP_JWT_Client;

var
  JWTClient: TsgcHTTPJWTClient;
begin
  JWTClient := TsgcHTTPJWTClient.Create(nil);
  JWTClient.JWKSEndpoint :=
    'https://auth.example.com/.well-known/jwks.json';
  if JWTClient.Verify(Token) then
    ShowMessage('Subject: ' + JWTClient.Payload.Subject);
end;

Ready to Validate JWTs?

Download the free trial and start building in minutes.