SimpleWebSecurityTokenSerializer Class
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.
Represents a class to use to read and to write SimpleWebSecurityToken, System.IdentityModel.Tokens.SecurityKeyIdentifierClause, and System.IdentityModel.Tokens.SecurityKeyIdentifier objects as XML.
public class SimpleWebSecurityTokenSerializer : System.IdentityModel.Selectors.SecurityTokenSerializer
type SimpleWebSecurityTokenSerializer = class
inherit SecurityTokenSerializer
Public Class SimpleWebSecurityTokenSerializer
Inherits SecurityTokenSerializer
- Inheritance
-
System.IdentityModel.Selectors.SecurityTokenSerializerSimpleWebSecurityTokenSerializer
Constructors
SimpleWebSecurityTokenSerializer() |
Initializes a new instance of the SimpleWebSecurityTokenSerializer class. |
SimpleWebSecurityTokenSerializer(SecurityTokenSerializer) |
Constructor. |
Fields
DefaultInstance |
Specifies an instance of theSimpleWebSecurityTokenSerializer class. |
Methods
CanReadKeyIdentifierClauseCore(XmlReader) |
Determines whether this serializer can read the <KeyIdentifier> element referred by the specified XML reader. |
CanReadKeyIdentifierCore(XmlReader) |
Determines whether this serializer can read the <KeyIdentifier> element referred by the specified XML reader. |
CanReadTokenCore(XmlReader) |
Determines whether this serializer can read the security token pointed at by the specified XML reader. |
CanWriteKeyIdentifierClauseCore(SecurityKeyIdentifierClause) |
Determines whether this serializer can write the specified key identifier clause. |
CanWriteKeyIdentifierCore(SecurityKeyIdentifier) |
Determines whether this serializer can write the specified key identifier. |
CanWriteTokenCore(SecurityToken) |
Determines whether this serializer can write the specified security token to XML. |
ReadKeyIdentifierClauseCore(XmlReader) |
Reads the key identifier clause using the specified XML reader. |
ReadKeyIdentifierCore(XmlReader) |
Reads the key identifier using the specified XML reader. |
ReadTokenCore(XmlReader, SecurityTokenResolver) |
Reads theSimpleWebSecurityToken or the security token pointed at by the specified XML reader. |
WriteKeyIdentifierClauseCore(XmlWriter, SecurityKeyIdentifierClause) |
Writes the specified key identifier clause using the specified XML writer. |
WriteKeyIdentifierCore(XmlWriter, SecurityKeyIdentifier) |
Writes the specified key identifier using the specified XML writer. |
WriteTokenCore(XmlWriter, SecurityToken) |
Writes the specifiedSimpleWebSecurityToken or security token using the specified XML writer. |