WsFederationExtensions.AddWsFederation 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
AddWsFederation(AuthenticationBuilder) |
WsFederationHandler使用預設驗證配置、顯示名稱和選項註冊 。 |
AddWsFederation(AuthenticationBuilder, Action<WsFederationOptions>) |
WsFederationHandler使用預設驗證配置、顯示名稱和指定的選項群組態來註冊 。 |
AddWsFederation(AuthenticationBuilder, String, Action<WsFederationOptions>) |
WsFederationHandler使用指定的驗證配置、預設顯示名稱和指定的選項群組態來註冊 。 |
AddWsFederation(AuthenticationBuilder, String, String, Action<WsFederationOptions>) |
WsFederationHandler使用指定的驗證配置、顯示名稱和選項群組態來註冊 。 |
AddWsFederation(AuthenticationBuilder)
WsFederationHandler使用預設驗證配置、顯示名稱和選項註冊 。
public static Microsoft.AspNetCore.Authentication.AuthenticationBuilder AddWsFederation (this Microsoft.AspNetCore.Authentication.AuthenticationBuilder builder);
static member AddWsFederation : Microsoft.AspNetCore.Authentication.AuthenticationBuilder -> Microsoft.AspNetCore.Authentication.AuthenticationBuilder
<Extension()>
Public Function AddWsFederation (builder As AuthenticationBuilder) As AuthenticationBuilder
參數
- builder
- AuthenticationBuilder
傳回
適用於
AddWsFederation(AuthenticationBuilder, Action<WsFederationOptions>)
WsFederationHandler使用預設驗證配置、顯示名稱和指定的選項群組態來註冊 。
public static Microsoft.AspNetCore.Authentication.AuthenticationBuilder AddWsFederation (this Microsoft.AspNetCore.Authentication.AuthenticationBuilder builder, Action<Microsoft.AspNetCore.Authentication.WsFederation.WsFederationOptions> configureOptions);
static member AddWsFederation : Microsoft.AspNetCore.Authentication.AuthenticationBuilder * Action<Microsoft.AspNetCore.Authentication.WsFederation.WsFederationOptions> -> Microsoft.AspNetCore.Authentication.AuthenticationBuilder
<Extension()>
Public Function AddWsFederation (builder As AuthenticationBuilder, configureOptions As Action(Of WsFederationOptions)) As AuthenticationBuilder
參數
- builder
- AuthenticationBuilder
- configureOptions
- Action<WsFederationOptions>
設定 的 WsFederationOptions 委派。
傳回
適用於
AddWsFederation(AuthenticationBuilder, String, Action<WsFederationOptions>)
WsFederationHandler使用指定的驗證配置、預設顯示名稱和指定的選項群組態來註冊 。
public static Microsoft.AspNetCore.Authentication.AuthenticationBuilder AddWsFederation (this Microsoft.AspNetCore.Authentication.AuthenticationBuilder builder, string authenticationScheme, Action<Microsoft.AspNetCore.Authentication.WsFederation.WsFederationOptions> configureOptions);
static member AddWsFederation : Microsoft.AspNetCore.Authentication.AuthenticationBuilder * string * Action<Microsoft.AspNetCore.Authentication.WsFederation.WsFederationOptions> -> Microsoft.AspNetCore.Authentication.AuthenticationBuilder
<Extension()>
Public Function AddWsFederation (builder As AuthenticationBuilder, authenticationScheme As String, configureOptions As Action(Of WsFederationOptions)) As AuthenticationBuilder
參數
- builder
- AuthenticationBuilder
- authenticationScheme
- String
- configureOptions
- Action<WsFederationOptions>
設定 的 WsFederationOptions 委派。
傳回
適用於
AddWsFederation(AuthenticationBuilder, String, String, Action<WsFederationOptions>)
WsFederationHandler使用指定的驗證配置、顯示名稱和選項群組態來註冊 。
public static Microsoft.AspNetCore.Authentication.AuthenticationBuilder AddWsFederation (this Microsoft.AspNetCore.Authentication.AuthenticationBuilder builder, string authenticationScheme, string displayName, Action<Microsoft.AspNetCore.Authentication.WsFederation.WsFederationOptions> configureOptions);
static member AddWsFederation : Microsoft.AspNetCore.Authentication.AuthenticationBuilder * string * string * Action<Microsoft.AspNetCore.Authentication.WsFederation.WsFederationOptions> -> Microsoft.AspNetCore.Authentication.AuthenticationBuilder
<Extension()>
Public Function AddWsFederation (builder As AuthenticationBuilder, authenticationScheme As String, displayName As String, configureOptions As Action(Of WsFederationOptions)) As AuthenticationBuilder
參數
- builder
- AuthenticationBuilder
- authenticationScheme
- String
- displayName
- String
- configureOptions
- Action<WsFederationOptions>
設定 的 WsFederationOptions 委派。