共用方式為


AuthenticationStateSerializationOptions.SerializeAllClaims 屬性

定義

如果 true,則預設 SerializationCallback 會串行化所有宣告;否則,它只會串行化 NameClaimTypeRoleClaimType 宣告。

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

屬性值

適用於