SecurityTokenHandler.ReadToken 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.
Overloads
ReadToken(XmlReader) |
Gets security token. |
ReadToken(XmlReader, TokenValidationParameters) |
This must be overridden to deserialize token with the provided TokenValidationParameters. |
ReadToken(XmlReader)
Gets security token.
public virtual Microsoft.IdentityModel.Tokens.SecurityToken ReadToken (System.Xml.XmlReader reader);
override this.ReadToken : System.Xml.XmlReader -> Microsoft.IdentityModel.Tokens.SecurityToken
Public Overridable Function ReadToken (reader As XmlReader) As SecurityToken
Parameters
Returns
Remarks
SecurityToken instance which represents the serialized token.
Applies to
ReadToken(XmlReader, TokenValidationParameters)
This must be overridden to deserialize token with the provided TokenValidationParameters.
public abstract Microsoft.IdentityModel.Tokens.SecurityToken ReadToken (System.Xml.XmlReader reader, Microsoft.IdentityModel.Tokens.TokenValidationParameters validationParameters);
override this.ReadToken : System.Xml.XmlReader * Microsoft.IdentityModel.Tokens.TokenValidationParameters -> Microsoft.IdentityModel.Tokens.SecurityToken
Public MustOverride Function ReadToken (reader As XmlReader, validationParameters As TokenValidationParameters) As SecurityToken
Parameters
- validationParameters
- TokenValidationParameters
the current TokenValidationParameters.
Returns
Remarks
SecurityToken instance which represents the serialized token.
Applies to
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour