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

属性值

Boolean

true 如果标识已经过身份验证,则为否则,为 false.

实现

注解

true if the AuthenticationType property is not null or an empty string.

适用于