|
Chronos Plugins 5.11.0
This documentation covers the plugin interfaces definitions and an example implementation.
|
Encapsulation for storing of password credentials in the Windows credential manager. More...
Public Member Functions | |
| ICredentials | GetCredentials (string resource, bool askIfNotStored) |
| Gets password credentials for the given resource, either by retrieving them from the credential manager or by asking the user. | |
| void | StoreCredentials (string resource, string username, string password) |
| In case you don't want to use the system dialog to ask for credentials, but need a different kind of dialog. | |
Encapsulation for storing of password credentials in the Windows credential manager.
Definition at line 6 of file ICredentialProvider.cs.
| ICredentials AxelSemrau.Chronos.Plugin.Security.ICredentialProvider.GetCredentials | ( | string | resource, |
| bool | askIfNotStored ) |
Gets password credentials for the given resource, either by retrieving them from the credential manager or by asking the user.
| resource | Unique identifier for the resource that these credentials are meant for. They will be stored in the Windows Credential Manager with a "Chronos:" prefix for easier identification. |
| askIfNotStored | If there are no stored credentials, ask |
| void AxelSemrau.Chronos.Plugin.Security.ICredentialProvider.StoreCredentials | ( | string | resource, |
| string | username, | ||
| string | password ) |
In case you don't want to use the system dialog to ask for credentials, but need a different kind of dialog.
| resource | |
| username | |
| password |