AuthenticationSchemeProvider 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
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>
用于存储身份验证方案的字典。