AuthenticationState(ClaimsPrincipal) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.