Partager via


BasicAuthToken Class

Provides a token for basic authentication of internet identities.

Inheritance Hierarchy

System.Object
  Microsoft.TeamFoundation.Client.IssuedToken
    Microsoft.TeamFoundation.Client.BasicAuthToken

Namespace:  Microsoft.TeamFoundation.Client
Assembly:  Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)

Syntax

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

The BasicAuthToken type exposes the following members.

Constructors

  Name Description
Public method BasicAuthToken Initializes a new BasicAuthToken instance with the specified token value.

Top

Properties

  Name Description
Protected property CredentialType Type of the credential. (Inherited from IssuedToken.)
Public property IsAuthenticated Gets a value indicating whether or not this token has been successfully authenticated with the remote server. (Inherited from IssuedToken.)

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.TeamFoundation.Client Namespace