×

Message

You need to login before you can view or download document
×

Message

You need to login before you can view or download document

Authorization using PassKeys

WebAuthn (Web Authentication) is a W3C standard that enables secure, passwordless, and phishing-resistant authentication using public-key cryptography. It's widely used with passkeys to improve security and user experience. However, authenticating users with WebAuthn is just the first step — after successful authentication, you often need to author...

Continue reading

Building a WebSocket Server in C++Builder

TsgcWebSocketServer is part of the sgcWebSockets suite and provides a high-level component for creating WebSocket servers in C++Builder. This guide walks through creating a minimal server that automatically replies to incoming messages.  Create the VCL project Open C++Builder and create a new VCL Forms Application.Drop a TsgcWebSocketServer co...

Continue reading
Tags:

WebAuthn Advanced Usage Example

Below is a more comprehensive Delphi example that demonstrates custom endpoints, challenge policies, database-backed credential storage, FIDO Metadata validation, and cross-origin iframe support. The code highlights advanced event handling to enforce security policies.  sgcWebSockets WebAuthn Server Example procedure TForm1.ConfigureWebAuthn;b...

Continue reading

Deep Dive into sgcWebSockets WebAuthn Server

The TsgcWSAPIServer_WebAuthn component is a Delphi/FPC server module that implements the relying‑party side of the WebAuthn protocol over HTTPS. It integrates with TsgcWebSocketHTTPServer or TsgcWebSocketServer, and it exposes REST‑like endpoints for registration and authentication.  Endpoint Mechanics By default, the component registers ...

Continue reading

WebAuthn, Passkeys, and the End of Passwords

WebAuthn is the authentication layer of the FIDO2 standard. Instead of depending on user‑remembered secrets, it employs asymmetric cryptography. During registration, a user's authenticator (hardware key, secure enclave, TPM, etc.) generates a private–public key pair scoped to the relying party domain. The browser sends the public key and attestatio...

Continue reading

Using WebSocket Client in .NET

TsgcWebSocketClient is the .NET wrapper around the sgcWebSockets runtime client. It inherits all core WebSocket capabilities from TsgcWebSocketClient_base, giving .NET applications a component-style API for connecting, sending, and receiving over WebSockets   Key Properties Host & Port – target server endpointOptions.Parameters – URL path ...

Continue reading
Tags:

sgcWebSockets 2025.7

Rad Studio [+] : Improved WebAuthn: added support for PS256, PS384 and PS512 algorithms. [+] : Improved WebAuthn: new property WebAuthnOptions.MDS to configure the Fido Metadata Service. [+] : Improved HTTP.SYS: added support for the WebAuthn protocol. [+] : Updated the OpenSSL libraries to the version 3.5.1 [+] : Improved STOMP Protocol: added a n...

Continue reading

sgcWebSockets 2025.6

Rad Studio [+] : Improved OpenAI Assistant: new event OnFunctionCall which allows to interface OpenAI models with your code, database, applications... [+] : Updated the OpenAI Assistant Demo with a new Assistant "Delphi Weather Bot" showing how it works. [+] : Improved Whatsapp API: updated api to v20. [+] : Improved Whatsapp API: new method SendMe...

Continue reading

OpenAI Function Calling

 Similar to the Chat Completions API, the Assistants API supports function calling. Function calling allows you to describe functions to the Assistants API and have it intelligently return the functions that need to be called along with their arguments. In this example, we'll create a weather assistant and define two functions, get_current_tem...

Continue reading

sgcWebSockets 2025.5

Rad Studio [+] : Improved WebAuthn Server: new events to handle better the Options request/response for the Registration and Authentication flows. - OnWebAuthnRegistrationOptionsRequest: allows to cancel an undesired registration request. - OnWebAuthnRegistrationOptionsResponse: allows to customize the registration options response. - OnWebAuthnAut...

Continue reading

OpenAI RealTime API

From sgcWebSockets 2025.5.0 the OpenAI RealTime API is supported (currently only transcription mode). The OpenAI Realtime API enables low-latency, multimodal interactions including speech-to-speech conversational experiences and real-time transcription. The component TsgcWSAPI_OpenAI implements the RealTime OpenAI API. Configuration Use the method ...

Continue reading

sgcWebSockets 2025.4

Rad Studio [+] : New WebAuthn Server Component: Implements the WebAuthn Server Specification, a web standard for secure, passwordless authentication. Currently in BETA. [+] : New WebAuthn Demo: Demonstrates how to register and authenticate using the TsgcWSAPIServer_WebAuthn component. Available in the folder "Demos\20.HTTP_Protocol\12.WebAuthn". [+...

Continue reading

WebAuthn Server

From sgcWebSockets 2025.4.0 Enterprise, the  WebAuthn Protocol is supported (currently in BETA).  WebAuthn (Web Authentication) is a web standard developed by the World Wide Web Consortium (W3C) and FIDO Alliance to enable secure, passwordless authentication on the web. It is part of the broader FIDO2 framework and aims to reduce rel...

Continue reading

sgcWebSockets AI Support

Registered users now have access to an advanced support tool designed specifically for developers utilizing the sgcWebSockets library from eSeGeCe Software. This tool leverages a specialized ChatGPT model trained exclusively for this library, ensuring tailored assistance.To access this feature, simply log in to your private account and navigate to ...

Continue reading

sgcWebSockets 2025.3

Rad Studio [+] : Added Support for Rad Studio 12.3 [+] : Improved Setup, a new option "Build Rad Studio IDE Win64" allows to install the package for the 64-bit IDE, by default is disabled. [+] : Improved TsgcWebSocketClient, when using SChannel there is a new event "OnSChannelVerifyPeer" to validate manually the certificate. [+] : Improved HTTPClie...

Continue reading

Rad Studio 12.3 IDE 64 bits

From sgcWebSockets 2024.3 the Rad Studio IDE for 64 bits is supported when using the automatic installer.  Configuration There is a new option, "Build Rad Studio IDE Win64," in the setup to allow the installation of components in the new IDE (disabled by default). When this option is selected, the components will be installed in both the 32-bi...

Continue reading

HTTP/1 Client Asynchronous

By default the TsgcHTTP1client uses blocking requests, so after calling an HTTP Request method, the client waits the response from the server. From sgcWebSockets 2025.3.0 you can use Asynchronous methods to execute these HTTP Requests in a secondary thread avoiding to block the thread where the requests is called. The following asynchronous methods...

Continue reading

OpenSSL Load Additional Functions

By Default Indy defines the most common openssl functions needed to encrypt the communications, but sometimes you need more functions for encryption, signing... From sgcIndy 2025.3.0 you can use the new method IdOpenSSLSetLoadFuncsCallback to assign a callback for loading additional OpenSSL functions dynamically. IdOpenSSLSetLoadFuncsCall...

Continue reading

sgcWebSockets 2025.2

Rad Studio [+] : Improved Socket.IO Client, new property HandShakeAuthToken to set the authentication token when required. [+] : Improved Socket.IO sample, the previous online server has been closed and now has been replaced by a new one. [+] : Improved Setup, now if detects the IDE is running aborts the installation until it's closed. [+] : Improv...

Continue reading

sgcWebSockets 2025.1

Rad Studio [+] : Improved OpenAPI Parser, added support for multipart/form-data requests. [+] : Improved OpenAI Assistant Demo, now can load the existing assistants created using other tools like openAI Playground. [+] : Improved OpenAI Assistant, now supports Streaming the responses using Server-Sent events streams. [+] : Improved OpenAI Assistant...

Continue reading