Modernize to .NET 10, new auth architecture, and JSON:API support#10
Merged
carldebilly merged 17 commits intomasterfrom Feb 15, 2026
Merged
Modernize to .NET 10, new auth architecture, and JSON:API support#10carldebilly merged 17 commits intomasterfrom
carldebilly merged 17 commits intomasterfrom
Conversation
… with GitHub Actions, and adopted Nerdbank.GitVersioning.
…n contract consistency across converters and models.
…ction statuses, categories, tenant statuses, and pagination metadata.
…moved login request/response messages, and simplified token handling logic.
…okenProvider`, updated tests to use environment-based token provider.
…n extraction and refresh, added supporting models and services for TenantCloud Client.
…se` and `TcPagingListResponse` with `TcJsonApiResponse`, added `IHasId` for common ID handling, and refactored related classes.
…Contacts` and `Leases`, updated `TcProperty` model with unified attributes.
…hods for `Contacts` and `Leases`, updated query parameter filters for consistency, and removed `TcTenantsPaginatedSourceExtensions`.
… `Contacts`, added support for `Leases`, removed obsolete test for tenants without leases, and added new tests for leases and properties.
…d platform-specific backends (Windows DPAPI, macOS Keychain, Linux Secret Service), and updated `TcJsonSerializerContext` with `TcTokenSet` serialization support.
- Registered `CdpTokenProvider` for CDP-based token extraction. - Added `AddTenantCloudClient` and `AddSecureTokenStore` methods for streamlined service registration. - Updated packages to include `Microsoft.Extensions.DependencyInjection.Abstractions`.
- Reorganized and rephrased for clarity and consistency. - Added dependency injection and custom provider examples. - Detailed authentication mechanism, token persistence, and built-in storage options. - Expanded API references with collection filters and paginated source details.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Major modernization of the TenantCloud client library.
Build & infrastructure
TreatWarningsAsErrorsAuthentication
InMemoryTcContextwith theITcAuthTokenProviderabstractionYllibed.TenantCloudClient.Cdppackage: extracts auth tokens from a running Chromium browser via Chrome DevTools Protocol, with automatic JWT refresh and optional interactive loginSecureTokenStore: OS-native credential persistence (DPAPI on Windows, Keychain on macOS, Secret Service on Linux)FileTokenStore: simple JSON file alternative for headless/CI scenariosAPI modernization
TcJsonApiResponse<T>)TenantswithContacts(with role filters: tenants, professionals, archived)Leasesendpoint with status/property/unit filtersTcPropertymodel with unified attributesDeveloper experience
AddTenantCloudClient(),AddSecureTokenStore(),AddCdpTokenProvider()GlobalUsings.cs, centralized package management