Dela via


ForbidResult Constructors

Definition

Overloads

ForbidResult()

Initializes a new instance of ForbidResult.

ForbidResult(AuthenticationProperties)

Initializes a new instance of ForbidResult with the specified properties.

ForbidResult(AuthenticationProperties)

Initializes a new instance of ForbidResult with the specified properties.

ForbidResult(IList<String>)

Initializes a new instance of ForbidResult with the specified authentication schemes.

ForbidResult(String)

Initializes a new instance of ForbidResult with the specified authentication scheme.

ForbidResult(IList<String>, AuthenticationProperties)

Initializes a new instance of ForbidResult with the specified authentication schemes and properties.

ForbidResult(IList<String>, AuthenticationProperties)

Initializes a new instance of ForbidResult with the specified authentication schemes and properties.

ForbidResult(String, AuthenticationProperties)

Initializes a new instance of ForbidResult with the specified authentication scheme and properties.

ForbidResult(String, AuthenticationProperties)

Initializes a new instance of ForbidResult with the specified authentication scheme and properties.

ForbidResult()

Source:
ForbidResult.cs
Source:
ForbidResult.cs
Source:
ForbidResult.cs

Initializes a new instance of ForbidResult.

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

Applies to

ForbidResult(AuthenticationProperties)

Source:
ForbidResult.cs
Source:
ForbidResult.cs
Source:
ForbidResult.cs

Initializes a new instance of ForbidResult with the specified properties.

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

Parameters

properties
AuthenticationProperties

AuthenticationProperties used to perform the authentication challenge.

Applies to

ForbidResult(AuthenticationProperties)

Initializes a new instance of ForbidResult with the specified properties.

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

Parameters

properties
AuthenticationProperties

AuthenticationProperties used to perform the authentication challenge.

Applies to

ForbidResult(IList<String>)

Source:
ForbidResult.cs
Source:
ForbidResult.cs
Source:
ForbidResult.cs

Initializes a new instance of ForbidResult with the specified authentication schemes.

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

Parameters

authenticationSchemes
IList<String>

The authentication schemes to challenge.

Applies to

ForbidResult(String)

Source:
ForbidResult.cs
Source:
ForbidResult.cs
Source:
ForbidResult.cs

Initializes a new instance of ForbidResult with the specified authentication scheme.

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

Parameters

authenticationScheme
String

The authentication scheme to challenge.

Applies to

ForbidResult(IList<String>, AuthenticationProperties)

Source:
ForbidResult.cs
Source:
ForbidResult.cs
Source:
ForbidResult.cs

Initializes a new instance of ForbidResult with the specified authentication schemes and properties.

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

Parameters

authenticationSchemes
IList<String>

The authentication schemes to challenge.

properties
AuthenticationProperties

AuthenticationProperties used to perform the authentication challenge.

Applies to

ForbidResult(IList<String>, AuthenticationProperties)

Initializes a new instance of ForbidResult with the specified authentication schemes and properties.

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

Parameters

authenticationSchemes
IList<String>

The authentication scheme to challenge.

properties
AuthenticationProperties

AuthenticationProperties used to perform the authentication challenge.

Applies to

ForbidResult(String, AuthenticationProperties)

Source:
ForbidResult.cs
Source:
ForbidResult.cs
Source:
ForbidResult.cs

Initializes a new instance of ForbidResult with the specified authentication scheme and properties.

public:
 ForbidResult(System::String ^ authenticationScheme, Microsoft::AspNetCore::Authentication::AuthenticationProperties ^ properties);
public ForbidResult (string authenticationScheme, Microsoft.AspNetCore.Authentication.AuthenticationProperties properties);
public ForbidResult (string authenticationScheme, Microsoft.AspNetCore.Authentication.AuthenticationProperties? properties);
new Microsoft.AspNetCore.Mvc.ForbidResult : string * Microsoft.AspNetCore.Authentication.AuthenticationProperties -> Microsoft.AspNetCore.Mvc.ForbidResult
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

ForbidResult(String, AuthenticationProperties)

Initializes a new instance of ForbidResult with the specified authentication scheme and properties.

public:
 ForbidResult(System::String ^ authenticationScheme, Microsoft::AspNetCore::Http::Authentication::AuthenticationProperties ^ properties);
public ForbidResult (string authenticationScheme, Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties properties);
new Microsoft.AspNetCore.Mvc.ForbidResult : string * Microsoft.AspNetCore.Http.Authentication.AuthenticationProperties -> Microsoft.AspNetCore.Mvc.ForbidResult
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.

Applies to