Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
AuthenticationState Class
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
- Source:
- AuthenticationState.cs
- Source:
- AuthenticationState.cs
- Source:
- AuthenticationState.cs
- Source:
- AuthenticationState.cs
- Source:
- AuthenticationState.cs
- Source:
- AuthenticationState.cs
- Source:
- AuthenticationState.cs
- Source:
- AuthenticationState.cs
- Source:
- AuthenticationState.cs
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.
Provides information about the currently authenticated user, if any.
public ref class AuthenticationState
public class AuthenticationState
type AuthenticationState = class
Public Class AuthenticationState
- Inheritance
-
AuthenticationState
Constructors
| Name | Description |
|---|---|
| AuthenticationState(ClaimsPrincipal) |
Constructs an instance of AuthenticationState. |
Properties
| Name | Description |
|---|---|
| User |
Gets a ClaimsPrincipal that describes the current user. |
Applies to
Feedback
Was this page helpful?
