HTTP/2, OAuth2 & JWT Components
Modern HTTP protocol support with multiplexing, server push, OAuth2 authentication, JWT tokens, and cloud messaging integrations.
Modern HTTP protocol support with multiplexing, server push, OAuth2 authentication, JWT tokens, and cloud messaging integrations.
A comprehensive suite of HTTP, authentication, and cloud messaging components.
HTTP/2 is a major revision of HTTP protocol with multiplexing, server push, and header compression for high-performance connections. Full client and server implementations.
Learn more →TsgcSSEClient is a Server-Sent Events (EventSource) client with typed events, automatic reconnect with Last-Event-ID resume, the server retry field honoured and backoff with jitter. Available in every edition.
Learn more →OAuth2 open-standard authorization protocol. Securely authenticate users with providers like Google, Microsoft, and custom OAuth2 servers.
Learn more →Build your own OAuth2 authorization server. Issue and validate access tokens, manage client applications and scopes.
Learn more →JSON Web Token client implementation. Create and validate JWT tokens for stateless authentication.
Learn more →JWT server-side implementation. Issue, validate, and manage JSON Web Tokens for your application.
Learn more →Web Authentication API for passwordless authentication using biometrics, security keys, and platform authenticators.
Learn more →Two-factor authentication with the codes of Google Authenticator, Microsoft Authenticator or Authy. Secrets, QR provisioning, replay-safe verification and recovery codes.
Learn more →Sign users in with their domain password over LDAPS or StartTLS, read nested Active Directory groups and search the directory with paging.
Learn more →SAML 2.0 service provider for single sign-on with Microsoft Entra ID, Okta, AD FS, Google Workspace and Keycloak, with strict signature validation.
Learn more →Sign in with any OpenID Connect provider. Discovery, PKCE and nonce by default, ID token validation against the provider keys and the userinfo endpoint.
Learn more →OAuth2 tokens and the XOAUTH2 / OAUTHBEARER strings for SMTP, IMAP and POP3 with Microsoft 365 and Gmail, ready for Indy or any mail library.
Learn more →Send push notifications to iOS and macOS devices via Apple's HTTP/2-based APNs service.
Learn more →Amazon Simple Queue Service integration. Fully managed message queues for microservices and distributed systems.
Learn more →Google Cloud messaging service. Reliable many-to-many asynchronous messaging between applications.
Learn more →Google Calendar API integration. Create events, manage calendars, and sync scheduling data.
Learn more →Firebase Cloud Messaging for sending push notifications to Android, iOS, and web clients.
Learn more →Embed a Microsoft Edge WebView2 (Chromium) browser in your VCL apps with TsgcWebView2. Navigation, JavaScript bridge, cookies, downloads, and printing.
Learn more →Call unary and streaming gRPC services over HTTP/2 from Delphi, with protobuf encoding, metadata and deadlines handled by the component.
Learn more →Ready-made provider profiles for Google, Microsoft, Facebook, GitHub and the other common identity services, so the endpoints and scopes are already filled in.
Learn more →Overview of JWT in sgcWebSockets. How tokens are signed, verified and refreshed, and which algorithms the client and the server share.
Learn more →Overview of the OAuth2 pieces and how they fit together, from the authorization code flow with PKCE through to running your own authorization server.
Learn more →Send HTTP/2 requests and handle responses with just a few lines of code.
procedure TForm1.SendHTTP2Request;
begin
sgcHTTP2Client1.Host := 'api.example.com';
sgcHTTP2Client1.Port := 443;
sgcHTTP2Client1.TLS := True;
sgcHTTP2Client1.Request.Method := 'GET';
sgcHTTP2Client1.Request.URL := '/api/data';
sgcHTTP2Client1.DoRequest;
end;
procedure TForm1.sgcHTTP2Client1Response(Sender: TObject;
const Response: TsgcHTTP2Response);
begin
Memo1.Lines.Add('Status: ' + IntToStr(Response.StatusCode));
Memo1.Lines.Add('Body: ' + Response.Text);
end;
Build HTTP applications for any platform from a single codebase.
Written technical documents for every component, covering configuration, the properties and events you will use, and complete working code. Each one is also published as a PDF.