SecurityTokenHandler.WriteToken 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
WriteToken(SecurityToken) |
Serializes to string a token of the type handled by this instance. |
WriteToken(XmlWriter, SecurityToken) |
This must be overridden to serialize to XML a token of the type handled by this instance. |
WriteToken(SecurityToken)
Serializes to string a token of the type handled by this instance.
public virtual string WriteToken (Microsoft.IdentityModel.Tokens.SecurityToken token);
abstract member WriteToken : Microsoft.IdentityModel.Tokens.SecurityToken -> string
override this.WriteToken : Microsoft.IdentityModel.Tokens.SecurityToken -> string
Public Overridable Function WriteToken (token As SecurityToken) As String
Parameters
- token
- SecurityToken
A token of type TokenType.
Returns
The serialized token.
Applies to
WriteToken(XmlWriter, SecurityToken)
This must be overridden to serialize to XML a token of the type handled by this instance.
public abstract void WriteToken (System.Xml.XmlWriter writer, Microsoft.IdentityModel.Tokens.SecurityToken token);
abstract member WriteToken : System.Xml.XmlWriter * Microsoft.IdentityModel.Tokens.SecurityToken -> unit
Public MustOverride Sub WriteToken (writer As XmlWriter, token As SecurityToken)
Parameters
- writer
- XmlWriter
The XML writer.
- token
- SecurityToken
A token of type TokenType.
Applies to
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示