OAuthTokenContainer Class
A container to encapsulate an OAuth access token and an OAuth refresh token (or authorization code)
Inheritance Hierarchy
System.Object
Microsoft.TeamFoundation.Client.IssuedToken
Microsoft.TeamFoundation.Client.OAuthTokenContainer
Namespace: Microsoft.TeamFoundation.Client
Assembly: Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)
Syntax
'Declaration
Public NotInheritable Class OAuthTokenContainer _
Inherits IssuedToken
public sealed class OAuthTokenContainer : IssuedToken
public ref class OAuthTokenContainer sealed : public IssuedToken
[<Sealed>]
type OAuthTokenContainer =
class
inherit IssuedToken
end
public final class OAuthTokenContainer extends IssuedToken
The OAuthTokenContainer type exposes the following members.
Properties
Name | Description | |
---|---|---|
AccessToken | The access code used to prove authorization on the resource server | |
IsAuthenticated | (Inherited from IssuedToken.) | |
RefreshToken | The refresh token (or authorization code) |
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.