Server post model, server creation form

This commit is contained in:
2021-10-14 01:44:47 -04:00
parent 27d4f5762a
commit 0dffa6e516
5 changed files with 62 additions and 3 deletions

View File

@@ -4,11 +4,12 @@
@inject IHttpContextAccessor _httpContextAccessor
@attribute [Authorize]
<ServerCreationForm/>
@code {
protected async override Task OnInitializedAsync()
{
string token = await _httpContextAccessor.HttpContext.GetTokenAsync("access_token");
var t = 2;
base.OnInitializedAsync();
}
}