last update

This commit is contained in:
Frank
2021-06-07 11:08:12 -04:00
parent c837fae21c
commit 480a326613
2 changed files with 9 additions and 2 deletions
+9 -1
View File
@@ -20,7 +20,15 @@ namespace demo.Function
ClaimsPrincipal principal)
{
log.LogInformation("C# HTTP trigger function processed a request.");
bool isClaimValid = true;
if (principal == null && !principal.Identity.IsAuthenticated)
{
log.LogWarning("Request was not authenticated.");
isClaimValid = false;
}
string name = req.Query["name"];
string requestBody = await new StreamReader(req.Body).ReadToEndAsync();
-1
View File
@@ -7,7 +7,6 @@
<h2>@result</h2>
@code {
private string result = "temp value";