Compartilhar via


SPFormsUserNameSecurityTokenHandler.CanValidateToken Property

Gets a value that indicates whether the specified security token can be validated by this security token authenticator.

Namespace:  Microsoft.SharePoint.IdentityModel
Assembly:  Microsoft.SharePoint.IdentityModel (in Microsoft.SharePoint.IdentityModel.dll)

Syntax

'Declaration
Public Overrides ReadOnly Property CanValidateToken As Boolean
    Get
'Usage
Dim instance As SPFormsUserNameSecurityTokenHandler
Dim value As Boolean

value = instance.CanValidateToken
public override bool CanValidateToken { get; }

Property Value

Type: System.Boolean
true if the specified security token can be validated; otherwise, false.

Remarks

This property always returns true.

See Also

Reference

SPFormsUserNameSecurityTokenHandler Class

SPFormsUserNameSecurityTokenHandler Members

Microsoft.SharePoint.IdentityModel Namespace