SimpleWebSecurityTokenSerializer.ReadTokenCore Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Reads the security token pointed at by the specified XML reader.
protected override System.IdentityModel.Tokens.SecurityToken ReadTokenCore (System.Xml.XmlReader reader, System.IdentityModel.Selectors.SecurityTokenResolver tokenResolver);
override this.ReadTokenCore : System.Xml.XmlReader * System.IdentityModel.Selectors.SecurityTokenResolver -> System.IdentityModel.Tokens.SecurityToken
Protected Overrides Function ReadTokenCore (reader As XmlReader, tokenResolver As SecurityTokenResolver) As SecurityToken
Parameters
- tokenResolver
- SecurityTokenResolver
A SecurityTokenResolver that determines the security token type.
Returns
A SecurityToken that is read from the XML reader.
Exceptions
The encoding of the XML element is not base64Binary.