Прочетете на английски Редактиране

Споделяне чрез


SecurityTokenElement Class

Definition

Represents a number elements found in a RequestSecurityToken which represent security tokens.

public class SecurityTokenElement
Inheritance
SecurityTokenElement

Remarks

This class is not thread-safe.

Constructors

SecurityTokenElement(SecurityToken)

Initializes a new instance of the SecurityTokenElement class by using a SecurityToken object.

SecurityTokenElement(XmlElement, SecurityTokenHandlerCollection)

Initializes a new instance of the SecurityTokenElement class by using the specified XML representation of a security token.

Properties

SecurityTokenXml

Gets the XML representation of the wrapped token.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetIdentities()

Gets the identities that are contained in the wrapped token.

GetSecurityToken()

Gets the security token that is represented by the current instance.

GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ReadSecurityToken(XmlElement, SecurityTokenHandlerCollection)

Deserializes a SecurityToken from the specified XML representation.

ToString()

Returns a string that represents the current object.

(Inherited from Object)
ValidateToken(XmlElement, SecurityTokenHandlerCollection)

Creates the identities that are contained in the specified XML representation of a security token.

Applies to

Продукт Версии
.NET Framework 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1