SessionSecurityTokenHandler.CanReadToken(XmlReader) Method

Definition

Returns a value that indicates whether the reader is positioned at a <wsc:SecurityContextToken> element.

public override bool CanReadToken (System.Xml.XmlReader reader);

Parameters

reader
XmlReader

The XmlReader over the incoming SecurityToken. The reader should be positioned at a <wsc:SecurityContextToken> element.

Returns

true if the reader points to a <wsc:SecurityContextToken> element; otherwise, false.

Exceptions

reader is null.

Applies to

Toode Versioonid
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1