Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

AuthenticationStateSerializationOptions.SerializeAllClaims Property

Definition

Namespace:
Microsoft.AspNetCore.Components.WebAssembly.Server
Assembly:
Microsoft.AspNetCore.Components.WebAssembly.Server.dll
Package:
Microsoft.AspNetCore.Components.WebAssembly.Server v10.0.0
Package:
Microsoft.AspNetCore.Components.WebAssembly.Server v11.0.0-preview.4.26230.115
Package:
Microsoft.AspNetCore.Components.WebAssembly.Server v9.0.8
Source:
AuthenticationStateSerializationOptions.cs
Source:
AuthenticationStateSerializationOptions.cs
Source:
AuthenticationStateSerializationOptions.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.

If true, the default SerializationCallback will serialize all claims; otherwise, it will only serialize the NameClaimType and RoleClaimType claims.

public bool SerializeAllClaims { get; set; }
member this.SerializeAllClaims : bool with get, set
Public Property SerializeAllClaims As Boolean

Property Value

Applies to


Feedback

Was this page helpful?