ChallengeResult Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ChallengeResult() |
Initializes a new instance of ChallengeResult. |
ChallengeResult(AuthenticationProperties) |
Initializes a new instance of ChallengeResult with the
specified |
ChallengeResult(AuthenticationProperties) |
Initializes a new instance of ChallengeResult with the
specified |
ChallengeResult(IList<String>) |
Initializes a new instance of ChallengeResult with the specified authentication schemes. |
ChallengeResult(String) |
Initializes a new instance of ChallengeResult with the specified authentication scheme. |
ChallengeResult(IList<String>, AuthenticationProperties) |
Initializes a new instance of ChallengeResult with the
specified authentication schemes and |
ChallengeResult(IList<String>, AuthenticationProperties) |
Initializes a new instance of ChallengeResult with the
specified authentication schemes and |
ChallengeResult(String, AuthenticationProperties) |
Initializes a new instance of ChallengeResult with the
specified authentication scheme and |
ChallengeResult(String, AuthenticationProperties) |
Initializes a new instance of ChallengeResult with the
specified authentication scheme and |
ChallengeResult()
- Source:
- ChallengeResult.cs
- Source:
- ChallengeResult.cs
- Source:
- ChallengeResult.cs
Initializes a new instance of ChallengeResult.
public:
ChallengeResult();
public ChallengeResult ();
Public Sub New ()
Applies to
ChallengeResult(AuthenticationProperties)
- Source:
- ChallengeResult.cs
- Source:
- ChallengeResult.cs
- Source:
- ChallengeResult.cs
Initializes a new instance of ChallengeResult with the
specified 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)
Parameters
- properties
- AuthenticationProperties
AuthenticationProperties used to perform the authentication challenge.
Applies to
ChallengeResult(AuthenticationProperties)
Initializes a new instance of ChallengeResult with the
specified 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)
Parameters
- properties
- AuthenticationProperties
AuthenticationProperties used to perform the authentication challenge.
Applies to
ChallengeResult(IList<String>)
- Source:
- ChallengeResult.cs
- Source:
- ChallengeResult.cs
- Source:
- ChallengeResult.cs
Initializes a new instance of ChallengeResult with the specified authentication schemes.
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))
Parameters
Applies to
ChallengeResult(String)
- Source:
- ChallengeResult.cs
- Source:
- ChallengeResult.cs
- Source:
- ChallengeResult.cs
Initializes a new instance of ChallengeResult with the specified authentication scheme.
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)
Parameters
- authenticationScheme
- String
The authentication scheme to challenge.
Applies to
ChallengeResult(IList<String>, AuthenticationProperties)
- Source:
- ChallengeResult.cs
- Source:
- ChallengeResult.cs
- Source:
- ChallengeResult.cs
Initializes a new instance of ChallengeResult with the
specified authentication schemes and properties
.
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)
Parameters
- properties
- AuthenticationProperties
AuthenticationProperties used to perform the authentication challenge.
Applies to
ChallengeResult(IList<String>, AuthenticationProperties)
Initializes a new instance of ChallengeResult with the
specified authentication schemes and properties
.
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)
Parameters
- properties
- AuthenticationProperties
AuthenticationProperties used to perform the authentication challenge.
Applies to
ChallengeResult(String, AuthenticationProperties)
- Source:
- ChallengeResult.cs
- Source:
- ChallengeResult.cs
- Source:
- ChallengeResult.cs
Initializes a new instance of ChallengeResult with the
specified authentication scheme and properties
.
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)
Parameters
- authenticationScheme
- String
The authentication scheme to challenge.
- properties
- AuthenticationProperties
AuthenticationProperties used to perform the authentication challenge.
Applies to
ChallengeResult(String, AuthenticationProperties)
Initializes a new instance of ChallengeResult with the
specified authentication scheme and properties
.
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)
Parameters
- authenticationScheme
- String
The authentication schemes to challenge.
- properties
- AuthenticationProperties
AuthenticationProperties used to perform the authentication challenge.