SimpleWebToken Class
Provides simple Web token that is used for OAuth authentication.
Inheritance Hierarchy
System.Object
Microsoft.TeamFoundation.Client.IssuedToken
Microsoft.TeamFoundation.Client.SimpleWebToken
Namespace: Microsoft.TeamFoundation.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Syntax
'Declaration
<SerializableAttribute> _
Public NotInheritable Class SimpleWebToken _
Inherits IssuedToken
[SerializableAttribute]
public sealed class SimpleWebToken : IssuedToken
[SerializableAttribute]
public ref class SimpleWebToken sealed : public IssuedToken
[<Sealed>]
[<SerializableAttribute>]
type SimpleWebToken =
class
inherit IssuedToken
end
public final class SimpleWebToken extends IssuedToken
The SimpleWebToken type exposes the following members.
Constructors
Name | Description | |
---|---|---|
SimpleWebToken | Initializes a new SimpleWebToken instance with the specified token value. |
Top
Properties
Name | Description | |
---|---|---|
CredentialType | Type of the credential. (Inherited from IssuedToken.) | |
IsAuthenticated | Gets a value indicating whether or not this token has been successfully authenticated with the remote server. (Inherited from IssuedToken.) | |
Token |
Top
Methods
Name | Description | |
---|---|---|
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
GetHashCode | Serves as the default hash function. (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.