Interface ICredentialsStore
Gives access to the system's encrypted credentials.
Namespace: Softadmin.Api
Assembly: Softadmin.Api.dll
Syntax
public interface ICredentialsStore
Methods
GetCredentials(String, out String, out String)
Looks up and decrypts an account name/password pair.
Declaration
void GetCredentials(string name, out string accountName, out string accountPassword)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | Internal name of the credentials to load. |
System.String | accountName | The account's name. |
System.String | accountPassword | The account's password. |
GetSecretKey(String, out String)
Looks up and decrypts a secret key.
Declaration
void GetSecretKey(string name, out string secret)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | Internal name of the credentials to load. |
System.String | secret | The secret key. |