scottkuhl / BlazorStaticWebApp

Blazor Azure Static Web App Example
2 stars 0 forks source link

API User Info #15

Open scottkuhl opened 2 years ago

scottkuhl commented 2 years ago

Add a StaticWebAppsAuth class to an Authentication folder in the Common.API project that provides basic user information from the client principal as seen in the documentation here:

https://docs.microsoft.com/en-us/azure/static-web-apps/user-information?tabs=csharp

Extend the movie functions to update data to log who is calling the method as an example.