ChallengeResult 构造函数

定义

重载

ChallengeResult()

初始化 ChallengeResult 的新实例。

ChallengeResult(AuthenticationProperties)

用指定的 ChallengeResult 初始化 properties 的新实例。

ChallengeResult(AuthenticationProperties)

用指定的 ChallengeResult 初始化 properties 的新实例。

ChallengeResult(IList<String>)

使用指定的身份验证方案初始化 的新实例 ChallengeResult

ChallengeResult(String)

使用指定的身份验证方案初始化 的新实例 ChallengeResult

ChallengeResult(IList<String>, AuthenticationProperties)

使用指定的身份验证方案和 properties初始化 的新实例ChallengeResult

ChallengeResult(IList<String>, AuthenticationProperties)

使用指定的身份验证方案和 properties初始化 的新实例ChallengeResult

ChallengeResult(String, AuthenticationProperties)

使用指定的身份验证方案和 properties初始化 的新实例ChallengeResult

ChallengeResult(String, AuthenticationProperties)

使用指定的身份验证方案和 properties初始化 的新实例ChallengeResult

ChallengeResult()

Source:
ChallengeResult.cs
Source:
ChallengeResult.cs

初始化 ChallengeResult 的新实例。

public:
 ChallengeResult();
public ChallengeResult ();
Public Sub New ()

适用于

ChallengeResult(AuthenticationProperties)

Source:
ChallengeResult.cs
Source:
ChallengeResult.cs

用指定的 ChallengeResult 初始化 properties 的新实例。

public:
 ChallengeResult(Microsoft::AspNetCore::Authentication::AuthenticationProperties ^ properties);
public ChallengeResult (Microsoft.AspNetCore.Authentication.AuthenticationProperties properties);
public ChallengeResult (Microsoft.AspNetCore.Authentication.AuthenticationProperties? properties);
new Microsoft.AspNetCore.Mvc.ChallengeResult : Microsoft.AspNetCore.Authentication.AuthenticationProperties -> Microsoft.AspNetCore.Mvc.ChallengeResult
Public Sub New (properties As AuthenticationProperties)

参数

properties
AuthenticationProperties

AuthenticationProperties 用于执行身份验证质询。

适用于

ChallengeResult(AuthenticationProperties)

用指定的 ChallengeResult 初始化 properties 的新实例。

public:
 ChallengeResult(Microsoft::AspNetCore::Http::Authentication::AuthenticationProperties ^ properties);
public ChallengeResult (Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties properties);
new Microsoft.AspNetCore.Mvc.ChallengeResult : Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties -> Microsoft.AspNetCore.Mvc.ChallengeResult
Public Sub New (properties As AuthenticationProperties)

参数

properties
AuthenticationProperties

AuthenticationProperties 用于执行身份验证质询。

适用于

ChallengeResult(IList<String>)

Source:
ChallengeResult.cs
Source:
ChallengeResult.cs

使用指定的身份验证方案初始化 的新实例 ChallengeResult

public:
 ChallengeResult(System::Collections::Generic::IList<System::String ^> ^ authenticationSchemes);
public ChallengeResult (System.Collections.Generic.IList<string> authenticationSchemes);
new Microsoft.AspNetCore.Mvc.ChallengeResult : System.Collections.Generic.IList<string> -> Microsoft.AspNetCore.Mvc.ChallengeResult
Public Sub New (authenticationSchemes As IList(Of String))

参数

authenticationSchemes
IList<String>

要质询的身份验证方案。

适用于

ChallengeResult(String)

Source:
ChallengeResult.cs
Source:
ChallengeResult.cs

使用指定的身份验证方案初始化 的新实例 ChallengeResult

public:
 ChallengeResult(System::String ^ authenticationScheme);
public ChallengeResult (string authenticationScheme);
new Microsoft.AspNetCore.Mvc.ChallengeResult : string -> Microsoft.AspNetCore.Mvc.ChallengeResult
Public Sub New (authenticationScheme As String)

参数

authenticationScheme
String

要质询的身份验证方案。

适用于

ChallengeResult(IList<String>, AuthenticationProperties)

Source:
ChallengeResult.cs
Source:
ChallengeResult.cs

使用指定的身份验证方案和 properties初始化 的新实例ChallengeResult

public:
 ChallengeResult(System::Collections::Generic::IList<System::String ^> ^ authenticationSchemes, Microsoft::AspNetCore::Authentication::AuthenticationProperties ^ properties);
public ChallengeResult (System.Collections.Generic.IList<string> authenticationSchemes, Microsoft.AspNetCore.Authentication.AuthenticationProperties properties);
public ChallengeResult (System.Collections.Generic.IList<string> authenticationSchemes, Microsoft.AspNetCore.Authentication.AuthenticationProperties? properties);
new Microsoft.AspNetCore.Mvc.ChallengeResult : System.Collections.Generic.IList<string> * Microsoft.AspNetCore.Authentication.AuthenticationProperties -> Microsoft.AspNetCore.Mvc.ChallengeResult
Public Sub New (authenticationSchemes As IList(Of String), properties As AuthenticationProperties)

参数

authenticationSchemes
IList<String>

要质询的身份验证方案。

properties
AuthenticationProperties

AuthenticationProperties 用于执行身份验证质询。

适用于

ChallengeResult(IList<String>, AuthenticationProperties)

使用指定的身份验证方案和 properties初始化 的新实例ChallengeResult

public:
 ChallengeResult(System::Collections::Generic::IList<System::String ^> ^ authenticationSchemes, Microsoft::AspNetCore::Http::Authentication::AuthenticationProperties ^ properties);
public ChallengeResult (System.Collections.Generic.IList<string> authenticationSchemes, Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties properties);
new Microsoft.AspNetCore.Mvc.ChallengeResult : System.Collections.Generic.IList<string> * Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties -> Microsoft.AspNetCore.Mvc.ChallengeResult
Public Sub New (authenticationSchemes As IList(Of String), properties As AuthenticationProperties)

参数

authenticationSchemes
IList<String>

要质询的身份验证方案。

properties
AuthenticationProperties

AuthenticationProperties 用于执行身份验证质询。

适用于

ChallengeResult(String, AuthenticationProperties)

Source:
ChallengeResult.cs
Source:
ChallengeResult.cs

使用指定的身份验证方案和 properties初始化 的新实例ChallengeResult

public:
 ChallengeResult(System::String ^ authenticationScheme, Microsoft::AspNetCore::Authentication::AuthenticationProperties ^ properties);
public ChallengeResult (string authenticationScheme, Microsoft.AspNetCore.Authentication.AuthenticationProperties properties);
public ChallengeResult (string authenticationScheme, Microsoft.AspNetCore.Authentication.AuthenticationProperties? properties);
new Microsoft.AspNetCore.Mvc.ChallengeResult : string * Microsoft.AspNetCore.Authentication.AuthenticationProperties -> Microsoft.AspNetCore.Mvc.ChallengeResult
Public Sub New (authenticationScheme As String, properties As AuthenticationProperties)

参数

authenticationScheme
String

要质询的身份验证方案。

properties
AuthenticationProperties

AuthenticationProperties 用于执行身份验证质询。

适用于

ChallengeResult(String, AuthenticationProperties)

使用指定的身份验证方案和 properties初始化 的新实例ChallengeResult

public:
 ChallengeResult(System::String ^ authenticationScheme, Microsoft::AspNetCore::Http::Authentication::AuthenticationProperties ^ properties);
public ChallengeResult (string authenticationScheme, Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties properties);
new Microsoft.AspNetCore.Mvc.ChallengeResult : string * Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties -> Microsoft.AspNetCore.Mvc.ChallengeResult
Public Sub New (authenticationScheme As String, properties As AuthenticationProperties)

参数

authenticationScheme
String

要质询的身份验证方案。

properties
AuthenticationProperties

AuthenticationProperties 用于执行身份验证质询。

适用于