Share via


AuthorizationResult.Failed Method

Definition

Overloads

Failed()

Creates a failed authorization result.

Failed(AuthorizationFailure)

Creates a failed authorization result.

Failed()

Source:
AuthorizationResult.cs
Source:
AuthorizationResult.cs
Source:
AuthorizationResult.cs
Source:
AuthorizationResult.cs
Source:
AuthorizationResult.cs
Source:
AuthorizationResult.cs
Source:
AuthorizationResult.cs
Source:
AuthorizationResult.cs
Source:
AuthorizationResult.cs

Creates a failed authorization result.

public:
 static Microsoft::AspNetCore::Authorization::AuthorizationResult ^ Failed();
public static Microsoft.AspNetCore.Authorization.AuthorizationResult Failed ();
static member Failed : unit -> Microsoft.AspNetCore.Authorization.AuthorizationResult
Public Shared Function Failed () As AuthorizationResult

Returns

The AuthorizationResult.

Applies to

Failed(AuthorizationFailure)

Source:
AuthorizationResult.cs
Source:
AuthorizationResult.cs
Source:
AuthorizationResult.cs
Source:
AuthorizationResult.cs
Source:
AuthorizationResult.cs
Source:
AuthorizationResult.cs
Source:
AuthorizationResult.cs
Source:
AuthorizationResult.cs
Source:
AuthorizationResult.cs

Creates a failed authorization result.

public:
 static Microsoft::AspNetCore::Authorization::AuthorizationResult ^ Failed(Microsoft::AspNetCore::Authorization::AuthorizationFailure ^ failure);
public static Microsoft.AspNetCore.Authorization.AuthorizationResult Failed (Microsoft.AspNetCore.Authorization.AuthorizationFailure failure);
static member Failed : Microsoft.AspNetCore.Authorization.AuthorizationFailure -> Microsoft.AspNetCore.Authorization.AuthorizationResult
Public Shared Function Failed (failure As AuthorizationFailure) As AuthorizationResult

Parameters

failure
AuthorizationFailure

Contains information about why authorization failed.

Returns

The AuthorizationResult.

Applies to