<PackageReference Include="System.ServiceModel.Primitives" Version="6.1.0" />

System.IdentityModel.Selectors.SecurityTokenSerializer

public abstract class SecurityTokenSerializer

public bool CanReadKeyIdentifier(XmlReader reader)

protected abstract bool CanReadKeyIdentifierClauseCore(XmlReader reader)

protected abstract bool CanReadKeyIdentifierCore(XmlReader reader)

public bool CanReadToken(XmlReader reader)

protected abstract bool CanReadTokenCore(XmlReader reader)

public bool CanWriteKeyIdentifier(SecurityKeyIdentifier keyIdentifier)

protected abstract bool CanWriteKeyIdentifierClauseCore(SecurityKeyIdentifierClause keyIdentifierClause)

protected abstract bool CanWriteKeyIdentifierCore(SecurityKeyIdentifier keyIdentifier)

public bool CanWriteToken(SecurityToken token)

protected abstract bool CanWriteTokenCore(SecurityToken token)

protected abstract SecurityToken ReadTokenCore(XmlReader reader, SecurityTokenResolver tokenResolver)

public void WriteKeyIdentifier(XmlWriter writer, SecurityKeyIdentifier keyIdentifier)

public void WriteKeyIdentifierClause(XmlWriter writer, SecurityKeyIdentifierClause keyIdentifierClause)

protected abstract void WriteKeyIdentifierClauseCore(XmlWriter writer, SecurityKeyIdentifierClause keyIdentifierClause)

protected abstract void WriteKeyIdentifierCore(XmlWriter writer, SecurityKeyIdentifier keyIdentifier)

public void WriteToken(XmlWriter writer, SecurityToken token)

protected abstract void WriteTokenCore(XmlWriter writer, SecurityToken token)