Path: redb/redb.Templates/templates/redb-identity-app/RedbIdentityApp.Web/Components/Pages/Me.razor Snapshot: redb, development snapshot 2026-12-06. This is the development state of the public mirrors; it may differ from the published packages. License: Apache-2.0. Repository: https://github.com/redbase-app/redb Page: https://redbase.app/src/dev-2026-12-06/redb/redb.Templates/templates/redb-identity-app/RedbIdentityApp.Web/Components/Pages/Me.razor ---- @page "/me" @attribute [Authorize] @inject ModuleClient Module Me

Who the module sees

@if (me is not null) {
Subject@me.Subject
User id@me.UserId
User name@me.UserName
Client@me.ClientId
Scopes@string.Join(" ", me.Scopes)
Token expires@me.ExpiresAt?.ToLocalTime().ToString("u")
} @code { private MeDto? me; private Exception? error; protected override async Task OnInitializedAsync() { try { me = await Module.MeAsync(); } catch (Exception ex) when (ex is SessionEndedException or IdentityUnavailableException or ModuleException) { error = ex; } } }