BaseAddressAuthorizationMessageHandler Class
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.
A DelegatingHandler that attaches access tokens to outgoing HttpResponseMessage instances. Access tokens will only be added when the request URI is within the application's base URI.
public ref class BaseAddressAuthorizationMessageHandler : Microsoft::AspNetCore::Components::WebAssembly::Authentication::AuthorizationMessageHandler
public class BaseAddressAuthorizationMessageHandler : Microsoft.AspNetCore.Components.WebAssembly.Authentication.AuthorizationMessageHandler
type BaseAddressAuthorizationMessageHandler = class
inherit AuthorizationMessageHandler
Public Class BaseAddressAuthorizationMessageHandler
Inherits AuthorizationMessageHandler
- Inheritance
Constructors
BaseAddressAuthorizationMessageHandler(IAccessTokenProvider, NavigationManager) |
Initializes a new instance of BaseAddressAuthorizationMessageHandler. |
Methods
ConfigureHandler(IEnumerable<String>, IEnumerable<String>, String) |
Configures this handler to authorize outbound HTTP requests using an access token. The access token is only attached if at least one of
|
SendAsync(HttpRequestMessage, CancellationToken) | (Inherited from AuthorizationMessageHandler) |
Explicit Interface Implementations
IDisposable.Dispose() | (Inherited from AuthorizationMessageHandler) |