Reference
Reference
Source-aligned reference for SqlOS 3.24.1 hosting, authentication, authorization, and integration APIs.
| Item | Value |
|---|---|
| Package | SqlOS |
| Current source version | 3.24.1 |
| Assembly | SqlOS.dll |
| Target framework | net9.0 |
| EF Core provider | SQL Server, EF Core 9 |
| ASP.NET Core | Framework reference supplied by the package |
The package now emits and packs SqlOS.xml for IDE help and generated-reference tooling. Missing-member warning CS1591 is temporarily suppressed because XML comments are not yet complete across every public implementation type; overloaded-member cref warning CS0419 is also suppressed until member-level docs are generated. The curated pages below therefore describe the supported application integration surface; they do not claim that every public class in the assembly is a recommended extension point.
| Reference | Use it for |
|---|---|
| Hosting API | SqlOSDbContext<TContext>, AddSqlOS, UseSingleApplication, MapSqlOS, and token-protected route groups |
| .NET SDK map | DI services, contracts, namespaces, and task-oriented examples |
| AuthServer API | Exact authentication, invitation, token, MFA, OIDC, and administrative service methods |
| FGA API | Access checks, EF query filters, resource synchronization, grants, and cursor pagination |
| HTTP protocol API | OAuth discovery, authorization, token, hosted, headless, and optional registration routes |
| Audit Logs | ISqlOSAuditLogService, event queries, and CSV export |
| Standalone identity host | Advanced multi-application deployments |
| Glossary | Plain-English identity, OAuth, SAML, FGA, and ASP.NET Core terminology |
Phone-code authentication is part of the current AuthServer service surface. Configure it with SqlOSAuthServerOptions.ConfigurePhoneOtp(...), then use RequestPhoneOtpAsync / VerifyPhoneOtpAsync for sign-in or RequestPhoneOtpSignupAsync / VerifyPhoneOtpSignupAsync for signup. The request/result records are in SqlOS.AuthServer.Contracts; see AuthServer API: Phone OTP.
Choose the highest-level API that fits the application:
SqlOSDbContext<TContext>, call the combined builder.AddSqlOS<TContext>(...) overload, configure UseSingleApplication(...), then call app.MapSqlOS().SqlOSAuthService, ISqlOSFgaAuthService, ISqlOSAuditLogService, ISqlOSTransactionalEmailService, or SqlOSCalendarService for backend workflows.examples/ belong to sample applications and are never part of the SqlOS package contract.The docs build verifies the package version, target framework, high-level source symbols, XML documentation setting, known contract names, common stale example patterns, and documentation-image integrity. It complements compilation and tests; it is not a substitute for them.