Share via


AuthenticationState(ClaimsPrincipal) Constructor

Definition

Constructs an instance of AuthenticationState.

public:
 AuthenticationState(System::Security::Claims::ClaimsPrincipal ^ user);
public AuthenticationState (System.Security.Claims.ClaimsPrincipal user);
new Microsoft.AspNetCore.Components.Authorization.AuthenticationState : System.Security.Claims.ClaimsPrincipal -> Microsoft.AspNetCore.Components.Authorization.AuthenticationState
Public Sub New (user As ClaimsPrincipal)

Parameters

user
ClaimsPrincipal

A ClaimsPrincipal representing the user.

Applies to