SocialLogin
TsgcHTMLComponent_SocialLogin — an OAuth social-login button panel (Google, Facebook, Apple, GitHub, Microsoft, Twitter, LinkedIn or custom) that builds each provider's authorization URL, in Delphi, C++ Builder and .NET.
TsgcHTMLComponent_SocialLogin — an OAuth social-login button panel (Google, Facebook, Apple, GitHub, Microsoft, Twitter, LinkedIn or custom) that builds each provider's authorization URL, in Delphi, C++ Builder and .NET.
A button-panel component that emits one branded Bootstrap button per provider, each linking to that provider's OAuth 2.0 authorization endpoint. Add providers, pick a layout, then read the HTML property.
TsgcHTMLComponent_SocialLogin
Bootstrap 5 OAuth button panel
Delphi, C++ Builder, .NET
Call AddProvider for each provider with its client ID and redirect URI, set the Layout and divider, then read HTML. Each button links to the provider's authorization URL.
The members you reach for most often.
AddProvider(aProvider, aClientID, aRedirectURI, aScope) appends a button; Providers is the TsgcHTMLSocialProviderItems collection you can also edit by hand.
The TsgcHTMLSocialProvider enum covers spGoogle, spFacebook, spApple, spGitHub, spMicrosoft, spTwitter, spLinkedIn and spCustom.
Each item exposes Provider, ClientID, RedirectURI, Scope, AuthURL, State, ButtonText, IconURL and CustomColor; GetAuthorizationURL returns the full URL.
Title and Subtitle head the panel; ShowDivider and DividerText draw the "or continue with" rule.
Layout chooses slVertical or slHorizontal; MaxWidth, ShowIcons, ButtonPadding and ButtonBorderRadius tune the buttons.
HTML returns the button panel; an injected stylesheet adds the hover effect. Serve it, or assign it to a page template's BodyContent.