C# (CSharp) GoogleCloudExtension.Accounts Namespace

Сlasses

Name Description
AccountsManager This class manages the OAUTH credentials created for the extension.
CredentialsStore This class manages the credentials store for the extension. Loading and saving the UserAccount to the %HOME%\AppData\Local directory. This class also manages the default credentials to use when a project doesn't specify credentials, or when Visual Studio is freshly opened. This default credentials is the last set of credentials used by the extension.
CredentialsStore.StoredUserAccount Remembers the file name used to serialize a particular UserAccount.
CredentialsStoreException
UserAccount This class stores the complete data for a user account. The class can be serialize to a .json string with an schema compatible with gcloud by design. The serialized form of this class can be consumed by gcloud via the --credential-file-override parameter. The serialize form can also be consumed as the "application default credentials" by apps using Google's client NuGet packages.
WindowsCredentialsStore This class manages the Windows credentials associated with a particular VM. The credentials are stored in files with the name {username}.data. The name of the file is the username, the contents of the file is the encrypted version of the password. Only the current user will be able to decrypt the password. The password is encrypted/decryped using the ProtectedData class.