Share via


CookieToken Class

Provides a cookie-based authentication token.

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Client.IssuedToken
    Microsoft.TeamFoundation.Client.CookieToken

Namespace:  Microsoft.TeamFoundation.Client
Assembly:  Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)

Syntax

'Declaration
<SerializableAttribute> _
Public NotInheritable Class CookieToken _
    Inherits IssuedToken
[SerializableAttribute]
public sealed class CookieToken : IssuedToken
[SerializableAttribute]
public ref class CookieToken sealed : public IssuedToken
[<Sealed>]
[<SerializableAttribute>]
type CookieToken =  
    class 
        inherit IssuedToken 
    end
public final class CookieToken extends IssuedToken

The CookieToken type exposes the following members.

Constructors

  Name Description
Public method CookieToken Initializes a new CookieToken instance using the specified cookies.

Top

Properties

  Name Description
Public property CookieCollection Returns the CookieCollection contained within this token. For internal use only.
Public property IsAuthenticated (Inherited from IssuedToken.)

Top

Methods

  Name Description
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.TeamFoundation.Client Namespace