summary refs log tree commit diff
path: root/testFrontend/SafeNSound.Demo/Pages/Devices.razor
diff options
context:
space:
mode:
Diffstat (limited to 'testFrontend/SafeNSound.Demo/Pages/Devices.razor')
-rw-r--r--testFrontend/SafeNSound.Demo/Pages/Devices.razor5
1 files changed, 5 insertions, 0 deletions
diff --git a/testFrontend/SafeNSound.Demo/Pages/Devices.razor b/testFrontend/SafeNSound.Demo/Pages/Devices.razor

index 5f90132..695c138 100644 --- a/testFrontend/SafeNSound.Demo/Pages/Devices.razor +++ b/testFrontend/SafeNSound.Demo/Pages/Devices.razor
@@ -5,6 +5,7 @@ <hr/> <LinkButton OnClick="@CreateDevice">Create new device</LinkButton> <LinkButton OnClick="@ReloadDevices">Reload Devices</LinkButton> + <LinkButton OnClick="@Logout">Log out</LinkButton> <LinkButton OnClick="@DeleteAccount">Delete account</LinkButton> @foreach (var device in CurrentDevices) { <div class="device-card"> @@ -77,5 +78,9 @@ private async Task DeleteAccount() { await Client.DeleteAccount(Auth); } + + private async Task Logout() { + await Client.LogOut(); + } } \ No newline at end of file