Partilhar via


GraphServiceCollectionExtensions Class

Definition

Extensions methods on a MicrosoftIdentityAppCallingWebApiAuthenticationBuilder builder to add support to call Microsoft Graph.

public static class GraphServiceCollectionExtensions
type GraphServiceCollectionExtensions = class
Public Module GraphServiceCollectionExtensions
Inheritance
GraphServiceCollectionExtensions

Methods

AddMicrosoftGraph(IServiceCollection, Action<MicrosoftGraphOptions>)

Add support to call Microsoft Graph. From a base Graph URL and a default scope.

AddMicrosoftGraph(IServiceCollection)

Add support to call Microsoft Graph. From a named option and a configuration section.

Applies to