Common approaches:
Server issues a token during login; clients include it in subsequent requests; server validates the token to authenticate.
A full-featured auth framework supporting OAuth2 and OpenID Connect. Includes capabilities like multi-tenancy, client credentials, and resource servers.
In .NET 10, use PassKey (WebAuthn) for biometric or device-backed login without passwords.
Register your app with the provider to obtain client ID/secret, then configure in your app.
Configure under the Authentication section. Built-in support:
JwtBearer.With valid settings present, services and middleware are added automatically.
See WebExtensions.cs for AddJwtAuthentication and AddThirdAuthentication.
ĺ 厚大纲