Share via


AuthenticationStateData Class

Definition

A JSON-serializable type that represents the data that is used to create an AuthenticationState.

public class AuthenticationStateData
type AuthenticationStateData = class
Public Class AuthenticationStateData
Inheritance
AuthenticationStateData

Constructors

AuthenticationStateData()

Properties

Claims

The client-readable claims that describe the User.

NameClaimType

Gets the value that identifies 'Name' claims. This is used when returning the property Name.

RoleClaimType

Gets the value that identifies 'Role' claims. This is used when calling IsInRole(String).

Applies to