Cirreum.Graph.Provider
1.0.29
dotnet add package Cirreum.Graph.Provider --version 1.0.29
NuGet\Install-Package Cirreum.Graph.Provider -Version 1.0.29
<PackageReference Include="Cirreum.Graph.Provider" Version="1.0.29" />
<PackageVersion Include="Cirreum.Graph.Provider" Version="1.0.29" />
<PackageReference Include="Cirreum.Graph.Provider" />
paket add Cirreum.Graph.Provider --version 1.0.29
#r "nuget: Cirreum.Graph.Provider, 1.0.29"
#:package Cirreum.Graph.Provider@1.0.29
#addin nuget:?package=Cirreum.Graph.Provider&version=1.0.29
#tool nuget:?package=Cirreum.Graph.Provider&version=1.0.29
Cirreum.Graph.Provider
Microsoft Graph integration for user presence tracking in Cirreum applications
Overview
Cirreum.Graph.Provider provides seamless Microsoft Graph API integration for the Cirreum foundation framework, enabling real-time user presence monitoring and status synchronization.
Key Features
- Authenticated Graph Access: Simplified, scoped access to Microsoft Graph APIs with automatic token management
- Presence Mapping: Intelligent mapping of Microsoft Graph presence data to standardized Cirreum presence models
- Service Integration: Easy registration with Cirreum's dependency injection container
- Lifecycle Management: Proper handling of Graph client lifecycles and authentication scopes
Usage
Register the Microsoft Graph presence service in your Blazor WebAssembly application:
builder.Services
.AddCirreumFoundation()
.WithGraphUserPresence(refreshInterval: 30000); // 30 seconds
The service automatically:
- Authenticates with Microsoft Graph using your configured authentication provider
- Polls for presence updates at the specified interval
- Maps Graph presence statuses to Cirreum's standardized presence model
- Updates the application's presence state in real-time
Presence Status Mapping
| Microsoft Graph Status | Cirreum Status |
|---|---|
| Available, AvailableIdle | Available |
| Busy, BusyIdle | Busy |
| Away, BeRightBack | Away |
| DoNotDisturb | DoNotDisturb |
| Offline | Offline |
| PresenceUnknown | Unknown |
Architecture
The library uses a provider pattern with IGraphServiceClientProvider to manage Graph client authentication and lifecycle. This ensures proper token acquisition and scope management for each operation while respecting service lifetimes.
Requirements
- .NET 10.0 or later
- Microsoft Graph API access with appropriate permissions for presence data
- Cirreum.Core package for foundational framework support
Contribution Guidelines
Be conservative with new abstractions
The API surface must remain stable and meaningful.Limit dependency expansion
Only add foundational, version-stable dependencies.Favor additive, non-breaking changes
Breaking changes ripple through the entire ecosystem.Include thorough unit tests
All primitives and patterns should be independently testable.Document architectural decisions
Context and reasoning should be clear for future maintainers.Follow .NET conventions
Use established patterns from Microsoft.Extensions.* libraries.
Versioning
Cirreum.Graph.Provider follows Semantic Versioning:
- Major - Breaking API changes
- Minor - New features, backward compatible
- Patch - Bug fixes, backward compatible
Given its foundational role, major version bumps are rare and carefully considered.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Cirreum Foundation Framework
Layered simplicity for modern .NET
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net10.0 is compatible. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net10.0
- Cirreum.Core (>= 1.0.40)
- Microsoft.Graph (>= 5.101.0)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Cirreum.Graph.Provider:
| Package | Downloads |
|---|---|
|
Cirreum.Runtime.Client.Msal
The Runtime Library for Clients that supports Msal Authentication. |
|
|
Cirreum.Runtime.Wasm.Msal
The Runtime Library for Clients that supports Msal Authentication. |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.29 | 113 | 2/5/2026 |
| 1.0.28 | 108 | 1/23/2026 |
| 1.0.27 | 96 | 1/22/2026 |
| 1.0.26 | 104 | 1/21/2026 |
| 1.0.25 | 114 | 1/12/2026 |
| 1.0.24 | 126 | 1/11/2026 |
| 1.0.23 | 113 | 1/5/2026 |
| 1.0.22 | 115 | 1/5/2026 |
| 1.0.21 | 108 | 1/2/2026 |
| 1.0.20 | 108 | 1/1/2026 |
| 1.0.19 | 114 | 12/30/2025 |
| 1.0.18 | 104 | 12/29/2025 |
| 1.0.17 | 100 | 12/29/2025 |
| 1.0.16 | 98 | 12/29/2025 |
| 1.0.15 | 111 | 12/29/2025 |
| 1.0.14 | 200 | 12/22/2025 |
| 1.0.12 | 122 | 12/20/2025 |
| 1.0.11 | 268 | 12/19/2025 |
| 1.0.10 | 302 | 12/16/2025 |
| 1.0.9 | 198 | 12/5/2025 |