Editar

Compartilhar via


Windows Community Toolkit - Authentication and Graph

The authentication and Graph helpers and controls are a part of the Windows Community Toolkit, focused on enabling quick and easy Windows authentication and Microsoft Graph powered experiences. These controls and helpers make it easy to get users authenticated and start calling Microsoft Graph APIs!

Note: This new library replaces the Microsoft.Toolkit.Uwp.UI.Controls.Graph package; however, it is not backwards compatible nor does it provide all the same features at this time.

If you need similar controls for the web, check out the Microsoft Graph Toolkit.

Supported SDKs

Package Min Supported
CommunityToolkit.Authentication NetStandard 2.0
CommunityToolkit.Authentication.Msal NetStandard 2.0
CommunityToolkit.Authentication.Uwp UWP Windows 10 17134
CommunityToolkit.Graph NetStandard 2.0
CommunityToolkit.Graph.Uwp UWP Windows 10 17763

Getting started

Check out the Getting Started guide for details on how to get authenticated and start calling Graph APIs.

Learn More

Authentication providers

Hook into a lightweight framework for authenticating users and responding to login state changes: Authentication Providers Overview

Extensions

See Microsoft Graph Extensions to learn how to get access to a preconfigured GraphServiceClient and make adhoc API calls using the Graph SDK.

Roaming settings

Roam settings across experiences with the Graph using Graph powered storage helpers. Store simple settings with open extensions on the Graph User or try the OneDriveStorageHelper for roaming files via OneDrive.

XAML controls

Build Graph experiences with XAML controls made for UWP, such as LoginButton or PersonView.