decePubClient/Extensions/CustomAuthenticationMessageHandler.cs
Eugenio Chiodo ba4a4b14c8 Saving
2022-02-14 01:51:37 +01:00

15 lines
450 B
C#

using Microsoft.AspNetCore.Components;
using Microsoft.AspNetCore.Components.WebAssembly.Authentication;
namespace decePubClient.Extensions
{
public class CustomAuthenticationMessageHandler : AuthorizationMessageHandler
{
public CustomAuthenticationMessageHandler(IAccessTokenProvider provider, NavigationManager navigation)
: base(provider, navigation)
{
ConfigureHandler(new string[] { "https://demo.identityserver.io" });
}
}
}