AuthenticationState(ClaimsPrincipal) Konstruktor

Definice

Vytvoří instanci objektu 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)

Parametry

user
ClaimsPrincipal

A ClaimsPrincipal představujícího uživatele.

Platí pro