ClaimsIdentityOptions 類別

定義

用來設定用於已知宣告之宣告類型的選項。

public ref class ClaimsIdentityOptions
public class ClaimsIdentityOptions
type ClaimsIdentityOptions = class
Public Class ClaimsIdentityOptions
繼承
ClaimsIdentityOptions

建構函式

ClaimsIdentityOptions()

用來設定用於已知宣告之宣告類型的選項。

屬性

EmailClaimType

取得或設定用於使用者電子郵件宣告的 ClaimType。 預設值為 Email

RoleClaimType

取得或設定用於 Role 宣告的 ClaimType。 預設值為 Role

SecurityStampClaimType

取得或設定用於安全性戳記宣告的 ClaimType。 預設為 「AspNet.Identity.SecurityStamp」。

UserIdClaimType

取得或設定用於使用者識別碼宣告的 ClaimType。 預設值為 NameIdentifier

UserNameClaimType

取得或設定用於使用者名稱宣告的 ClaimType。 預設值為 Name

適用於