Share via


VssOAuthToken Class

Provides a token used for OAuth delegation based authentication

Inheritance Hierarchy

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

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

Syntax

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

The VssOAuthToken type exposes the following members.

Properties

  Name Description
Protected property CredentialType (Inherited from IssuedToken.)
Public property Expiration The expiration time of the token
Public property IsAuthenticated (Inherited from IssuedToken.)
Public property Token Gets the underlying token as string
Public property TokenType Gets the type of OAuth token

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