AuthorizationMessageHandler(IAccessTokenProvider, NavigationManager) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of AuthorizationMessageHandler.
public:
AuthorizationMessageHandler(Microsoft::AspNetCore::Components::WebAssembly::Authentication::IAccessTokenProvider ^ provider, Microsoft::AspNetCore::Components::NavigationManager ^ navigation);
public AuthorizationMessageHandler (Microsoft.AspNetCore.Components.WebAssembly.Authentication.IAccessTokenProvider provider, Microsoft.AspNetCore.Components.NavigationManager navigation);
new Microsoft.AspNetCore.Components.WebAssembly.Authentication.AuthorizationMessageHandler : Microsoft.AspNetCore.Components.WebAssembly.Authentication.IAccessTokenProvider * Microsoft.AspNetCore.Components.NavigationManager -> Microsoft.AspNetCore.Components.WebAssembly.Authentication.AuthorizationMessageHandler
Public Sub New (provider As IAccessTokenProvider, navigation As NavigationManager)
Parameters
- provider
- IAccessTokenProvider
The IAccessTokenProvider to use for provisioning tokens.
- navigation
- NavigationManager
The NavigationManager to use for performing redirections.