Freigeben über


SecurityTokenHandler.CanValidateToken Property

Indicates whether this handler supports validation of tokens handled by this instance.

Namespace: Microsoft.IdentityModel.Tokens
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)

Verwendung

    Dim instance As SecurityTokenHandler
Dim value As Boolean

value = instance.CanValidateToken

Syntax

'Declaration
Public Overridable ReadOnly Property CanValidateToken As Boolean
public virtual bool CanValidateToken { get; }
public:
virtual property bool CanValidateToken {
    bool get ();
}
/** @property */
public boolean get_CanValidateToken ()
public function get CanValidateToken () : boolean

Eigenschaftenwert

true if the class is capable of SecurityToken validation.

Threadsicherheit

Beliebige öffentliche, statische (Freigegebene in Visual Basic) Member dieses Typs sind threadsicher. Bei Instanzmembern ist die Threadsicherheit nicht gewährleistet.

Plattformen

Entwicklungsplattformen

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2008, Windows Vista, Not tested on Windows XP

Siehe auch

Referenz

SecurityTokenHandler Class
SecurityTokenHandler Members
Microsoft.IdentityModel.Tokens Namespace