MicrosoftGraphExtensions.AddMicrosoftGraph メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
| Name | 説明 |
|---|---|
| AddMicrosoftGraph(MicrosoftIdentityAppCallsWebApiAuthenticationBuilder, IConfigurationSection) |
Microsoft Graphを呼び出すサポートを追加します。 名前付きオプションと構成セクションから。 |
| AddMicrosoftGraph(MicrosoftIdentityAppCallsWebApiAuthenticationBuilder, Action<MicrosoftGraphOptions>) |
Microsoft Graphを呼び出すサポートを追加します。 名前付きオプションと構成方法から。 |
| AddMicrosoftGraph(MicrosoftIdentityAppCallsWebApiAuthenticationBuilder, Func<IAuthenticationProvider,GraphServiceClient>, IEnumerable<String>) |
Microsoft Graphを呼び出すサポートを追加します。 |
| AddMicrosoftGraph(MicrosoftIdentityAppCallsWebApiAuthenticationBuilder, String, String) |
Microsoft Graphを呼び出すサポートを追加します。 ベース グラフの URL と既定のスコープから。 |
AddMicrosoftGraph(MicrosoftIdentityAppCallsWebApiAuthenticationBuilder, IConfigurationSection)
Microsoft Graphを呼び出すサポートを追加します。 名前付きオプションと構成セクションから。
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
パラメーター
ビルダー。
- configurationSection
- IConfigurationSection
構成セクション。
返品
チェーンするビルダー。
適用対象
AddMicrosoftGraph(MicrosoftIdentityAppCallsWebApiAuthenticationBuilder, Action<MicrosoftGraphOptions>)
Microsoft Graphを呼び出すサポートを追加します。 名前付きオプションと構成方法から。
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
パラメーター
ビルダー。
- configureMicrosoftGraphOptions
- Action<MicrosoftGraphOptions>
オプションを構成するメソッド。
返品
チェーンするビルダー。
適用対象
AddMicrosoftGraph(MicrosoftIdentityAppCallsWebApiAuthenticationBuilder, Func<IAuthenticationProvider,GraphServiceClient>, IEnumerable<String>)
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
パラメーター
ビルダー。
- graphServiceClientFactory
- Func<IAuthenticationProvider,Microsoft.Graph.GraphServiceClient>
GraphServiceClient を作成する関数。
- initialScopes
- IEnumerable<String>
初期スコープ。
返品
チェーンするビルダー。
適用対象
AddMicrosoftGraph(MicrosoftIdentityAppCallsWebApiAuthenticationBuilder, String, String)
Microsoft Graphを呼び出すサポートを追加します。 ベース グラフの URL と既定のスコープから。
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
パラメーター
ビルダー。
- graphBaseUrl
- String
オプションの名前付きインスタンス。
- defaultScopes
- String
構成セクション。
返品
チェーンするビルダー。