Delen via


VssOAuthTokenContainer Class

A container to encapsulate an OAuth access token and an OAuth refresh token (or authorization code)

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Services.Common.IssuedToken
    Microsoft.VisualStudio.Services.Client.VssOAuthTokenContainer

Namespace:  Microsoft.VisualStudio.Services.Client
Assembly:  Microsoft.VisualStudio.Services.Client (in Microsoft.VisualStudio.Services.Client.dll)

Syntax

'Declaration
Public NotInheritable Class VssOAuthTokenContainer _
    Inherits IssuedToken
public sealed class VssOAuthTokenContainer : IssuedToken
public ref class VssOAuthTokenContainer sealed : public IssuedToken
[<Sealed>]
type VssOAuthTokenContainer =  
    class 
        inherit IssuedToken 
    end
public final class VssOAuthTokenContainer extends IssuedToken

The VssOAuthTokenContainer type exposes the following members.

Properties

  Name Description
Public property AccessToken The access code used to prove authorization on the resource server
Protected property CredentialType (Inherited from IssuedToken.)
Public property IsAuthenticated (Inherited from IssuedToken.)
Public property RefreshToken The refresh token (or authorization code)

Top

Methods

  Name Description
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Public method 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.

See Also

Reference

Microsoft.VisualStudio.Services.Client Namespace