Created
April 22, 2023 11:21
-
-
Save thivi/9f984558f2709c425653b4f12493c4d2 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@{ | |
ViewData["Title"] = "Secure"; | |
} | |
<h1>@ViewData["Title"]</h1> | |
<p>Use this page to show sensitive information that should only be shown to an authenticated user.</p> | |
<div> | |
<h4>Profile Pic</h4> | |
<img src=@Model.ProfileURL class="profile-pic"/> | |
<h4>Claims</h4> | |
<ul> | |
@foreach (var claim in Model.Claims) | |
{ | |
<li><b>@claim.Type</b> <span>@claim.Value</span></li> | |
} | |
</ul> | |
<h4>Access Token</h4> | |
<p class="field">@Model.AccessToken</p> | |
<h4>ID Token</h4> | |
<p class="field">@Model.IdToken</p> | |
<h4>Refresh Token</h4> | |
<p class="field">@Model.RefreshToken</p> | |
</div> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment