A Blazor component library that makes it easy to use authentication in your application through MSAL, both in Blazor Server and Blazor WebAssembly applications.
The HasTokenAsync method is used to check whether there is a token for a specific scenario. It is a shorthand for calling the AcquireTokenSilentAsync method, catching any exceptions and checking the result for that method call.
The
HasTokenAsync
method is used to check whether there is a token for a specific scenario. It is a shorthand for calling theAcquireTokenSilentAsync
method, catching any exceptions and checking the result for that method call.