Dela via


AuthenticationStateSerializationOptions Class

Definition

Provides options for configuring the JSON serialization of the AuthenticationState provided by the server's AuthenticationStateProvider to the WebAssembly client using PersistentComponentState.

public class AuthenticationStateSerializationOptions
type AuthenticationStateSerializationOptions = class
Public Class AuthenticationStateSerializationOptions
Inheritance
AuthenticationStateSerializationOptions

Constructors

AuthenticationStateSerializationOptions()

Default constructor for AuthenticationStateSerializationOptions.

Properties

SerializationCallback

Default implementation for converting the server's AuthenticationState to an AuthenticationStateData object for JSON serialization to the client using PersistentComponentState."/>

SerializeAllClaims

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

Applies to