AuthenticationSchemeProvider 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
AuthenticationSchemeProvider(IOptions<AuthenticationOptions>) |
使用指定的 |
AuthenticationSchemeProvider(IOptions<AuthenticationOptions>, IDictionary<String,AuthenticationScheme>) |
使用指定的 |
AuthenticationSchemeProvider(IOptions<AuthenticationOptions>)
使用指定的 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))
參數
- options
- IOptions<AuthenticationOptions>
適用於
AuthenticationSchemeProvider(IOptions<AuthenticationOptions>, IDictionary<String,AuthenticationScheme>)
使用指定的 options
和 schemes
建立 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))
參數
- options
- IOptions<AuthenticationOptions>
- schemes
- IDictionary<String,AuthenticationScheme>
用來儲存驗證配置的字典。