Chronos Plugins 5.11.0
This documentation covers the plugin interfaces definitions and an example implementation.
Loading...
Searching...
No Matches
AxelSemrau.Chronos.Plugin.Security.ICredentialProvider Interface Reference

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.

Detailed Description

Encapsulation for storing of password credentials in the Windows credential manager.

Definition at line 6 of file ICredentialProvider.cs.

Member Function Documentation

◆ GetCredentials()

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.

Parameters
resourceUnique 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.
askIfNotStoredIf there are no stored credentials, ask
Returns

◆ StoreCredentials()

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.

Parameters
resource
username
password

The documentation for this interface was generated from the following file: