Język

MicrosoftGraphExtensions.AddMicrosoftGraph Metoda

Definicja

Przeciążenia

Nazwisko Opis
AddMicrosoftGraph(MicrosoftIdentityAppCallsWebApiAuthenticationBuilder, IConfigurationSection)

Dodaj obsługę, aby zadzwonić do Microsoft Graph. Z nazwanej opcji i sekcji konfiguracji.

AddMicrosoftGraph(MicrosoftIdentityAppCallsWebApiAuthenticationBuilder, Action<MicrosoftGraphOptions>)

Dodaj obsługę, aby zadzwonić do Microsoft Graph. Z nazwanych opcji i metody konfiguracji.

AddMicrosoftGraph(MicrosoftIdentityAppCallsWebApiAuthenticationBuilder, Func<IAuthenticationProvider,GraphServiceClient>, IEnumerable<String>)

Dodaj obsługę, aby zadzwonić do Microsoft Graph.

AddMicrosoftGraph(MicrosoftIdentityAppCallsWebApiAuthenticationBuilder, String, String)

Dodaj obsługę, aby zadzwonić do Microsoft Graph. Z podstawowego adresu URL programu Graph i zakresu domyślnego.

AddMicrosoftGraph(MicrosoftIdentityAppCallsWebApiAuthenticationBuilder, IConfigurationSection)

Dodaj obsługę, aby zadzwonić do Microsoft Graph. Z nazwanej opcji i sekcji konfiguracji.

public static Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder AddMicrosoftGraph(this Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder builder, Microsoft.Extensions.Configuration.IConfigurationSection configurationSection);
static member AddMicrosoftGraph : Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder * Microsoft.Extensions.Configuration.IConfigurationSection -> Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder
<Extension()>
Public Function AddMicrosoftGraph (builder As MicrosoftIdentityAppCallsWebApiAuthenticationBuilder, configurationSection As IConfigurationSection) As MicrosoftIdentityAppCallsWebApiAuthenticationBuilder

Parametry

configurationSection
IConfigurationSection

Sekcja konfiguracji.

Zwraca

Konstruktor do łańcucha.

Dotyczy

AddMicrosoftGraph(MicrosoftIdentityAppCallsWebApiAuthenticationBuilder, Action<MicrosoftGraphOptions>)

Dodaj obsługę, aby zadzwonić do Microsoft Graph. Z nazwanych opcji i metody konfiguracji.

public static Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder AddMicrosoftGraph(this Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder builder, Action<Microsoft.Identity.Web.MicrosoftGraphOptions> configureMicrosoftGraphOptions);
static member AddMicrosoftGraph : Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder * Action<Microsoft.Identity.Web.MicrosoftGraphOptions> -> Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder
<Extension()>
Public Function AddMicrosoftGraph (builder As MicrosoftIdentityAppCallsWebApiAuthenticationBuilder, configureMicrosoftGraphOptions As Action(Of MicrosoftGraphOptions)) As MicrosoftIdentityAppCallsWebApiAuthenticationBuilder

Parametry

configureMicrosoftGraphOptions
Action<MicrosoftGraphOptions>

Metoda konfigurowania opcji.

Zwraca

Konstruktor do łańcucha.

Dotyczy

AddMicrosoftGraph(MicrosoftIdentityAppCallsWebApiAuthenticationBuilder, Func<IAuthenticationProvider,GraphServiceClient>, IEnumerable<String>)

Dodaj obsługę, aby zadzwonić do Microsoft Graph.

public static Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder AddMicrosoftGraph(this Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder builder, Func<Microsoft.Graph.IAuthenticationProvider,Microsoft.Graph.GraphServiceClient> graphServiceClientFactory, System.Collections.Generic.IEnumerable<string> initialScopes);
static member AddMicrosoftGraph : Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder * Func<Microsoft.Graph.IAuthenticationProvider, Microsoft.Graph.GraphServiceClient> * seq<string> -> Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder
<Extension()>
Public Function AddMicrosoftGraph (builder As MicrosoftIdentityAppCallsWebApiAuthenticationBuilder, graphServiceClientFactory As Func(Of IAuthenticationProvider, GraphServiceClient), initialScopes As IEnumerable(Of String)) As MicrosoftIdentityAppCallsWebApiAuthenticationBuilder

Parametry

graphServiceClientFactory
Func<IAuthenticationProvider,Microsoft.Graph.GraphServiceClient>

Funkcja tworzenia elementu GraphServiceClient.

initialScopes
IEnumerable<String>

Początkowe zakresy.

Zwraca

Konstruktor do łańcucha.

Dotyczy

AddMicrosoftGraph(MicrosoftIdentityAppCallsWebApiAuthenticationBuilder, String, String)

Dodaj obsługę, aby zadzwonić do Microsoft Graph. Z podstawowego adresu URL programu Graph i zakresu domyślnego.

public static Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder AddMicrosoftGraph(this Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder builder, string graphBaseUrl = "https://graph.microsoft.com/v1.0", string defaultScopes = "user.read");
static member AddMicrosoftGraph : Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder * string * string -> Microsoft.Identity.Web.MicrosoftIdentityAppCallsWebApiAuthenticationBuilder
<Extension()>
Public Function AddMicrosoftGraph (builder As MicrosoftIdentityAppCallsWebApiAuthenticationBuilder, Optional graphBaseUrl As String = "https://graph.microsoft.com/v1.0", Optional defaultScopes As String = "user.read") As MicrosoftIdentityAppCallsWebApiAuthenticationBuilder

Parametry

graphBaseUrl
String

Nazwane wystąpienie opcji.

defaultScopes
String

Sekcja konfiguracji.

Zwraca

Konstruktor do łańcucha.

Dotyczy