OAuth2 Server Provider

Configure and customize your OAuth2 server with the TsgcHTTPOAuth2ServerProvider for advanced token management and client validation.

Capabilities

  • Pre-built provider for common OAuth2 flows
  • Pluggable token storage backends
  • Custom client validation logic
  • Scope-based access control
  • Configurable token lifetime policies

Delphi Example

uses
  sgcHTTP_OAuth2_Server;

var
  Provider: TsgcHTTPOAuth2ServerProvider;
begin
  Provider := TsgcHTTPOAuth2ServerProvider.Create(nil);
  Provider.TokenExpiry := 3600;
  Provider.RefreshTokenExpiry := 86400;
  Provider.OnValidateClient := ValidateClient;
  Provider.OnGrantAccess := GrantAccess;
end;

Documentation & Demos

Deep-link to the component reference, grab the ready-to-run demo project, and download the trial.

Ready to Configure OAuth2 Provider?

Download the free trial and start building in minutes.