Метод | Описание | |
---|---|---|
AddAccount ( |
Stores a new set of user credentials in the credentials store.
|
|
DeleteAccount ( |
Deletes the account from the store. The account must exist in the store or it will throw.
|
|
GetAccount ( string accountName ) : |
Returns the account given the account name.
|
|
ResetCredentials ( string accountName, string projectId ) : void |
Resets the credentials state to the account with the given accountName and the given projectId. The Reset event will be raised to notify listeners on this. If accountName cannot be found in the store then the credentials will be reset to empty.
|
|
UpdateCurrentProject ( Project project ) : void |
Updates the current project data from the given project.
|
Метод | Описание | |
---|---|---|
AtomicFileRead ( string path ) : string | ||
AtomicFileWrite ( string path, string contents ) : void | ||
CredentialsStore ( ) : Google.Apis.Auth.OAuth2 | ||
EnsureCredentialsRootExist ( ) : void | ||
GetCredentialsStoreRoot ( ) : string | ||
GetFileName ( |
||
GetUserAccountPath ( string accountName ) : string | ||
LoadAccounts ( ) : StoredUserAccount>.Dictionary |
||
LoadDefaultCredentials ( ) : DefaultCredentials | ||
LoadUserAccount ( string path ) : |
||
SaveUserAccount ( |
||
SaveUserAccount ( |
||
UpdateDefaultCredentials ( ) : void |
public AddAccount ( |
||
userAccount | ||
Результат | void |
public DeleteAccount ( |
||
account | The accound to delete. | |
Результат | void |
public GetAccount ( string accountName ) : |
||
accountName | string | The name to look. |
Результат |
public ResetCredentials ( string accountName, string projectId ) : void | ||
accountName | string | The name of the account to make current. |
projectId | string | The projectId to make current. |
Результат | void |
public UpdateCurrentProject ( Project project ) : void | ||
project | Project | |
Результат | void |