15 lines
450 B
C#
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" });
|
|
}
|
|
}
|
|
}
|