SecurityTokenElement Class

Definition

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

public ref class SecurityTokenElement
public class SecurityTokenElement
type SecurityTokenElement = class
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