OAuthToken Class
Provides a token that is used for OAuth delegation based authentication
Inheritance Hierarchy
System.Object
Microsoft.TeamFoundation.Client.IssuedToken
Microsoft.TeamFoundation.Client.OAuthToken
Namespace: Microsoft.TeamFoundation.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Syntax
'Declaration
<SerializableAttribute> _
Public NotInheritable Class OAuthToken _
Inherits IssuedToken
[SerializableAttribute]
public sealed class OAuthToken : IssuedToken
[SerializableAttribute]
public ref class OAuthToken sealed : public IssuedToken
[<Sealed>]
[<SerializableAttribute>]
type OAuthToken =
class
inherit IssuedToken
end
public final class OAuthToken extends IssuedToken
The OAuthToken type exposes the following members.
Properties
Name | Description | |
---|---|---|
Expiration | The expiration time of the token | |
IsAuthenticated | (Inherited from IssuedToken.) | |
Token | Gets the underlying token as string | |
TokenType | Gets the type of OAuth token |
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.