Five grant types, one component
TsgcHTTP_OAuth2_Client drives OAuth2Options.GrantType through auth2Code for trusted server-side apps, auth2CodePKCE for native, mobile and single-page apps, auth2ClientCredentials for daemons and service accounts, auth2ResourceOwnerPassword, and auth2DeviceCode (RFC 8628) for smart TVs, kiosks and other input-constrained devices. Point AuthorizationServerOptions at the provider's authorize, token, revocation and introspection endpoints and the component handles the rest: when Active/Start runs the Authorization Code flow, it opens the system browser and stands up a small local HTTP server from LocalServerOptions to catch the redirect, exchanging the code for a token over plain HTTPS through HTTPClientOptions. Refresh, Revoke and Introspect cover the token lifecycle after that, and DPoPOptions plus GenerateDPoPKeyPair add DPoP proof-of-possession (RFC 9449) for providers that require it. Ready-made Google and Microsoft presets configure the common endpoints and scopes for you.