RemoteAuthenticationResult<TRemoteAuthenticationState> Class

Definition

Represents the result of an authentication operation.

C#
public class RemoteAuthenticationResult<TRemoteAuthenticationState> where TRemoteAuthenticationState : RemoteAuthenticationState

Type Parameters

TRemoteAuthenticationState

The type of the preserved state during the authentication operation.

Inheritance
RemoteAuthenticationResult<TRemoteAuthenticationState>

Constructors

Properties

ErrorMessage

Gets or sets the error message of a failed authentication operation.

State

Gets or sets the preserved state of a successful authentication operation.

Status

Gets or sets the status of the authentication operation. The status can be one of RemoteAuthenticationStatus.

Applies to

Product Versions
ASP.NET Core 3.1, 5.0, 6.0, 7.0, 8.0, 9.0