Share via


ClaimsIdentity.IsAuthenticated 屬性

定義

取得值,指出識別是否已經驗證。

public:
 virtual property bool IsAuthenticated { bool get(); };
public virtual bool IsAuthenticated { get; }
member this.IsAuthenticated : bool
Public Overridable ReadOnly Property IsAuthenticated As Boolean

屬性值

true 如果已驗證身分識別,則為 ;否則為 false

實作

備註

trueAuthenticationType如果 屬性不是 null 或空字串,則為 。

適用於