@page
@using WmsWebApi.Pages
@using Volo.Abp.Users
@model IndexModel
@inject ICurrentUser CurrentUser
@if (CurrentUser.IsAuthenticated)
{
Logout
@CurrentUser.UserName
@CurrentUser.Email
Roles: @CurrentUser.Roles.JoinAsString(", ")
Claims:
@Html.Raw(CurrentUser.GetAllClaims().Select(c => $"{c.Type}={c.Value}").JoinAsString("
"))
}
@if (!CurrentUser.IsAuthenticated)
{
}