Saving
This commit is contained in:
14
Extensions/CustomAuthenticationMessageHandler.cs
Normal file
14
Extensions/CustomAuthenticationMessageHandler.cs
Normal file
@ -0,0 +1,14 @@
|
||||
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" });
|
||||
}
|
||||
}
|
||||
}
|
6
Extensions/GenericExtensions.cs
Normal file
6
Extensions/GenericExtensions.cs
Normal file
@ -0,0 +1,6 @@
|
||||
namespace decePubClient.Extensions;
|
||||
|
||||
public class GenericExtensions
|
||||
{
|
||||
|
||||
}
|
Reference in New Issue
Block a user