C# Class Microsoft.Alm.Authentication.TokenRegistry

A token storage object which interacts with the current user's Visual Studio 2015 hive in the Windows Registry.
Inheritance: ITokenStore
Exibir arquivo Open project: Microsoft/Git-Credential-Manager-for-Windows

Public Methods

Method Description
DeleteToken ( TargetUri targetUri ) : void

Not supported

ReadToken ( TargetUri targetUri ) : Token

Reads a token from the current user's Visual Studio hive in the Windows Registry.

TokenRegistry ( ) : System
WriteToken ( TargetUri targetUri, Token token ) : void

Not supported

Private Methods

Method Description
EnumerateKeys ( bool writeable ) : IEnumerable
EnumerateRootKeys ( ) : IEnumerable
KeyIsValid ( RegistryKey registryKey, string &url, string &type, string &value ) : bool

Method Details

DeleteToken() public method

Not supported
public DeleteToken ( TargetUri targetUri ) : void
targetUri TargetUri
return void

ReadToken() public method

Reads a token from the current user's Visual Studio hive in the Windows Registry.
public ReadToken ( TargetUri targetUri ) : Token
targetUri TargetUri Key used to select the token.
return Token

TokenRegistry() public method

public TokenRegistry ( ) : System
return System

WriteToken() public method

Not supported
public WriteToken ( TargetUri targetUri, Token token ) : void
targetUri TargetUri
token Token
return void