共用方式為


AuthenticationSchemeProvider 建構函式

定義

多載

AuthenticationSchemeProvider(IOptions<AuthenticationOptions>)

使用指定的 options,建立 AuthenticationSchemeProvider 的實例。

AuthenticationSchemeProvider(IOptions<AuthenticationOptions>, IDictionary<String,AuthenticationScheme>)

使用指定的 optionsschemes建立 AuthenticationSchemeProvider 實例。

AuthenticationSchemeProvider(IOptions<AuthenticationOptions>)

來源:
AuthenticationSchemeProvider.cs
來源:
AuthenticationSchemeProvider.cs
來源:
AuthenticationSchemeProvider.cs

使用指定的 options,建立 AuthenticationSchemeProvider 的實例。

public:
 AuthenticationSchemeProvider(Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Authentication::AuthenticationOptions ^> ^ options);
public AuthenticationSchemeProvider (Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Authentication.AuthenticationOptions> options);
new Microsoft.AspNetCore.Authentication.AuthenticationSchemeProvider : Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Authentication.AuthenticationOptions> -> Microsoft.AspNetCore.Authentication.AuthenticationSchemeProvider
Public Sub New (options As IOptions(Of AuthenticationOptions))

參數

適用於

AuthenticationSchemeProvider(IOptions<AuthenticationOptions>, IDictionary<String,AuthenticationScheme>)

來源:
AuthenticationSchemeProvider.cs
來源:
AuthenticationSchemeProvider.cs
來源:
AuthenticationSchemeProvider.cs

使用指定的 optionsschemes建立 AuthenticationSchemeProvider 實例。

protected:
 AuthenticationSchemeProvider(Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Authentication::AuthenticationOptions ^> ^ options, System::Collections::Generic::IDictionary<System::String ^, Microsoft::AspNetCore::Authentication::AuthenticationScheme ^> ^ schemes);
protected AuthenticationSchemeProvider (Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Authentication.AuthenticationOptions> options, System.Collections.Generic.IDictionary<string,Microsoft.AspNetCore.Authentication.AuthenticationScheme> schemes);
new Microsoft.AspNetCore.Authentication.AuthenticationSchemeProvider : Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Authentication.AuthenticationOptions> * System.Collections.Generic.IDictionary<string, Microsoft.AspNetCore.Authentication.AuthenticationScheme> -> Microsoft.AspNetCore.Authentication.AuthenticationSchemeProvider
Protected Sub New (options As IOptions(Of AuthenticationOptions), schemes As IDictionary(Of String, AuthenticationScheme))

參數

schemes
IDictionary<String,AuthenticationScheme>

用來儲存驗證配置的字典。

適用於