SimpleWebTokenCredential Class
Provides federated authentication with a hosted TfsConnection instance using simple Web tokens.
Inheritance Hierarchy
System.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)
Syntax
'Declaration
<SerializableAttribute> _
Public NotInheritable Class SimpleWebTokenCredential _
Inherits FederatedCredential
[SerializableAttribute]
public sealed class SimpleWebTokenCredential : FederatedCredential
[SerializableAttribute]
public ref class SimpleWebTokenCredential sealed : public FederatedCredential
[<Sealed>]
[<SerializableAttribute>]
type SimpleWebTokenCredential =
class
inherit FederatedCredential
end
public final class SimpleWebTokenCredential extends FederatedCredential
The SimpleWebTokenCredential type exposes the following members.
Constructors
Name | Description | |
---|---|---|
SimpleWebTokenCredential(String, String) | Initializes a new SimpleWebTokenCredential instance with the specified user name and password. | |
SimpleWebTokenCredential(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
Properties
Name | Description | |
---|---|---|
UserName | Gets the user name. |
Top
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
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.