Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 2 additions & 7 deletions CommunityToolkit.Net.Graph/CommunityToolkit.Net.Graph.csproj
Original file line number Diff line number Diff line change
@@ -1,20 +1,15 @@
<Project Sdk="MSBuild.Sdk.Extras">
<Project Sdk="Microsoft.NET.Sdk">

<PropertyGroup>
<TargetFramework>netstandard2.0</TargetFramework>

<Title>Windows Community Toolkit .NET Standard Graph Services</Title>
<PackageId>CommunityToolkit.Net.Graph</PackageId>
<Description>
This package includes .NET Standard code helpers such as:
- GraphExtensions: Helpers for common tasks related to the Microsoft Graph used by the Microsoft.Toolkit.Graph.Controls.
- ProviderExtensions: Extension on IProvider for accessing a pre-configured GraphServiceClient instance.
</Description>
<PackageTags>Windows Community Toolkit Graph Provider Extensions</PackageTags>
<SignAssembly>false</SignAssembly>
<GenerateLibraryLayout>true</GenerateLibraryLayout>
<LangVersion>8.0</LangVersion>
<Configurations>Debug;Release;CI</Configurations>
<Platforms>AnyCPU;ARM;ARM64;x64;x86</Platforms>
</PropertyGroup>

<ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ private static void OnProviderUpdated(object sender, ProviderUpdatedEventArgs e)
if (e.Reason == ProviderManagerChangedState.ProviderChanged || !(providerManager.GlobalProvider?.State == ProviderState.SignedIn))
{
_client = null;
_betaClient = null;
}
}

Expand Down
2 changes: 1 addition & 1 deletion Docs/WindowsProvider.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ It extends IProvider and uses the native AccountsSettingsPane APIs for login.

```CSharp
// Provider config
string clientId = "YOUR_CLIENT_ID_HERE"; // Only required for approving application or delegated permissions.
string clientId = "YOUR_CLIENT_ID_HERE"; // AAD configuration is only required for admin-level consent.
string[] scopes = { "User.Read", "People.Read", "Calendars.Read", "Mail.Read" };
bool autoSignIn = true;

Expand Down
Loading