SecurityTokenHandler.CanReadToken Method (String)
Returns a value that indicates whether the specified string can be deserialized as a token of the type processed by this instance.
Assembly: System.IdentityModel (in System.IdentityModel.dll)
The default implementation always returns false.
If you override this method, you must also override the SecurityTokenHandler.ReadToken method to provide the logic to deserialize the token.
Available since 4.5