Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
IHostEnvironmentAuthenticationStateProvider Interface
Definition
- Assembly:
- Microsoft.AspNetCore.Components.Authorization.dll
- Package:
- Microsoft.AspNetCore.Components.Authorization v10.0.0
- Package:
- Microsoft.AspNetCore.Components.Authorization v11.0.0-preview.4.26230.115
- Package:
- Microsoft.AspNetCore.Components.Authorization v3.0.3
- Package:
- Microsoft.AspNetCore.Components.Authorization v3.1.18
- Package:
- Microsoft.AspNetCore.Components.Authorization v5.0.9
- Package:
- Microsoft.AspNetCore.Components.Authorization v6.0.6
- Package:
- Microsoft.AspNetCore.Components.Authorization v7.0.5
- Package:
- Microsoft.AspNetCore.Components.Authorization v8.0.19
- Package:
- Microsoft.AspNetCore.Components.Authorization v9.0.8
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.
An interface implemented by services to receive authentication state information from the host environment. If this is implemented by the host's AuthenticationStateProvider, it will receive authentication state from the HttpContext. Or if this implemented service that is registered directly as an IHostEnvironmentAuthenticationStateProvider, it will receive the AuthenticationState returned by GetAuthenticationStateAsync()
public interface class IHostEnvironmentAuthenticationStateProvider
public interface IHostEnvironmentAuthenticationStateProvider
type IHostEnvironmentAuthenticationStateProvider = interface
Public Interface IHostEnvironmentAuthenticationStateProvider
- Derived
Methods
| Name | Description |
|---|---|
| SetAuthenticationState(Task<AuthenticationState>) |
Supplies updated authentication state data to the AuthenticationStateProvider. |
Applies to
Feedback
Was this page helpful?
