Lingua

MicrosoftGraphExtensions.AddMicrosoftGraph Metodo

Definizione

Overload

Nome Descrizione
AddMicrosoftGraph(MicrosoftIdentityAppCallsWebApiAuthenticationBuilder, IConfigurationSection)

Aggiungere il supporto per chiamare Microsoft Graph. Da un'opzione denominata e da una sezione di configurazione.

AddMicrosoftGraph(MicrosoftIdentityAppCallsWebApiAuthenticationBuilder, Action<MicrosoftGraphOptions>)

Aggiungere il supporto per chiamare Microsoft Graph. Da un'opzione denominata e da un metodo di configurazione.

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

Aggiungere il supporto per chiamare Microsoft Graph.

AddMicrosoftGraph(MicrosoftIdentityAppCallsWebApiAuthenticationBuilder, String, String)

Aggiungere il supporto per chiamare Microsoft Graph. Da un URL del grafo di base e da un ambito predefinito.

AddMicrosoftGraph(MicrosoftIdentityAppCallsWebApiAuthenticationBuilder, IConfigurationSection)

Aggiungere il supporto per chiamare Microsoft Graph. Da un'opzione denominata e da una sezione di configurazione.

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

Parametri

configurationSection
IConfigurationSection

Sezione Di configurazione.

Valori restituiti

Generatore da concatenare.

Si applica a

AddMicrosoftGraph(MicrosoftIdentityAppCallsWebApiAuthenticationBuilder, Action<MicrosoftGraphOptions>)

Aggiungere il supporto per chiamare Microsoft Graph. Da un'opzione denominata e da un metodo di configurazione.

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

Parametri

configureMicrosoftGraphOptions
Action<MicrosoftGraphOptions>

Metodo per configurare le opzioni.

Valori restituiti

Generatore da concatenare.

Si applica a

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

Aggiungere il supporto per chiamare 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

Parametri

graphServiceClientFactory
Func<IAuthenticationProvider,Microsoft.Graph.GraphServiceClient>

Funzione per creare un oggetto GraphServiceClient.

initialScopes
IEnumerable<String>

Ambiti iniziali.

Valori restituiti

Generatore da concatenare.

Si applica a

AddMicrosoftGraph(MicrosoftIdentityAppCallsWebApiAuthenticationBuilder, String, String)

Aggiungere il supporto per chiamare Microsoft Graph. Da un URL del grafo di base e da un ambito predefinito.

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

Parametri

graphBaseUrl
String

Istanza denominata dell'opzione.

defaultScopes
String

Sezione Di configurazione.

Valori restituiti

Generatore da concatenare.

Si applica a