mirror of https://github.com/abpframework/abp.git
csharpabpc-sharpframeworkblazoraspnet-coredotnet-coreaspnetcorearchitecturesaasdomain-driven-designangularmulti-tenancy
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
736 B
22 lines
736 B
@page
|
|
@using MyCompanyName.MyProjectName.Pages
|
|
@inherits MyProjectNamePage
|
|
@model IndexModel
|
|
<abp-card>
|
|
<abp-card-header>Welcome</abp-card-header>
|
|
<abp-card-body>
|
|
@if (!CurrentUser.IsAuthenticated)
|
|
{
|
|
<form method="POST">
|
|
<input type="submit" asp-page-handler="Login" value="LOGIN" class="btn btn-primary" />
|
|
</form>
|
|
}
|
|
else
|
|
{
|
|
<strong>Claims</strong><br />
|
|
@Html.Raw(CurrentUser.GetAllClaims().Select(c => $"{c.Type}={c.Value}").OrderBy(x => x).JoinAsString(" <br /> "))
|
|
}
|
|
<hr />
|
|
<p class="text-right"><a href="https://abp.io?ref=tmpl" target="_blank">abp.io</a></p>
|
|
</abp-card-body>
|
|
</abp-card>
|