Share via


CookieCredential Class

Provides federated authentication with a hosted TfsConnection instance using cookies.

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Client.IssuedTokenCredential
    Microsoft.TeamFoundation.Client.FederatedCredential
      Microsoft.TeamFoundation.Client.CookieCredential

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

Syntax

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

The CookieCredential type exposes the following members.

Constructors

  Name Description
Public method CookieCredential() Initializes a new CookieCredential instance.
Public method CookieCredential(Boolean) Initializes a new CookieCredential instance.
Public method CookieCredential(Boolean, CookieToken) Initializes a new CookieCredential instance.

Top

Properties

  Name Description
Public property TokenStorage (Inherited from IssuedTokenCredential.)

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 the default hash function. (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