C# Class GoogleCloudExtension.Accounts.AccountsManager

This class manages the OAUTH credentials created for the extension.
Mostrar archivo Open project: GoogleCloudPlatform/google-cloud-visualstudio

Public Methods

Method Description
DeleteAccount ( UserAccount userAccount ) : void

Deletes the given userAccount from the store.

StartAddAccountFlowAsync ( ) : Task

Starts the flow to add a new account to the credentials store.

Private Methods

Method Description
GetUserAccountForRefreshToken ( string refreshToken ) : Task

Method Details

DeleteAccount() public static method

Deletes the given userAccount from the store.
public static DeleteAccount ( UserAccount userAccount ) : void
userAccount UserAccount
return void

StartAddAccountFlowAsync() public static method

Starts the flow to add a new account to the credentials store.
public static StartAddAccountFlowAsync ( ) : Task
return Task