Partager via


AuthenticationState(ClaimsPrincipal) Constructeur

Définition

Construit un instance de 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)

Paramètres

user
ClaimsPrincipal

ClaimsPrincipal représentant l’utilisateur.

S’applique à