Partager via


AuthorizationMessageHandler(IAccessTokenProvider, NavigationManager) Constructeur

Définition

Initialise une nouvelle instance de 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)

Paramètres

provider
IAccessTokenProvider

IAccessTokenProvider à utiliser pour l’approvisionnement de jetons.

navigation
NavigationManager

NavigationManager à utiliser pour effectuer des redirections.

S’applique à