共用方式為


TokenValidationParameters.NameClaimType Property

Definition

Gets or sets a String that defines the NameClaimType.

public string NameClaimType { get; set; }
member this.NameClaimType : string with get, set
Public Property NameClaimType As String

Property Value

Remarks

Controls the value Name returns. It will return the first Value where the Type equals NameClaimType. The default is DefaultNameClaimType.

Applies to