We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 000e8c6 commit 21d62d3Copy full SHA for 21d62d3
src/Components/Blazor/testassets/Wasm.Authentication.Client/Pages/User.razor
@@ -21,6 +21,19 @@
21
<p>@(claim.Key): @claim.Value.ToString()</p>
22
}
23
24
+@if (AccessToken != null)
25
+{
26
+ <h2>Current time: @DateTimeOffset.Now</h2>
27
+ <h2>Access token expires</h2>
28
+ <p>@AccessToken.Expires</p>
29
+
30
+ <h2>Access token granted scopes (as reported by the API)</h2>
31
+ @foreach (var scope in AccessToken.GrantedScopes)
32
+ {
33
+ <p>Scope: @scope</p>
34
+ }
35
+}
36
37
@code {
38
[CascadingParameter] private Task<AuthenticationState> AuthenticationState { get; set; }
39
0 commit comments