This topic has not yet been rated - Rate this topic

SimpleWebTokenCredential Class

Visual Studio 2012

Provides federated authentication with a hosted TfsConnection instance using simple Web tokens.

Object
  Microsoft.TeamFoundation.Client.IssuedTokenCredential
    Microsoft.TeamFoundation.Client.FederatedCredential
      Microsoft.TeamFoundation.Client.SimpleWebTokenCredential

Namespace:  Microsoft.TeamFoundation.Client
Assembly:  Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
[SerializableAttribute]
public sealed class SimpleWebTokenCredential : FederatedCredential

The SimpleWebTokenCredential type exposes the following members.

  NameDescription
Public methodSimpleWebTokenCredential(String, String)Initializes a new SimpleWebTokenCredential instance with the specified user name and password.
Public methodSimpleWebTokenCredential(String, String, SimpleWebToken)Initializes a new SimpleWebTokenCredential instance with the specified user name and password. The provided token, if not null, will be used before it tries authentication with the credentials.
Top
  NameDescription
Public propertyUserNameGets the user name.
Top
  NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object. (Inherited from Object.)
Public methodGetHashCodeServes as a hash function for a particular type. (Inherited from Object.)
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.