Class OnlineEftposCredentialsProvider
Default credentials provider.
Inheritance
Inherited Members
Namespace: Yort.OnlineEftpos
Assembly: cs.temp.dll.dll
Syntax
public sealed class OnlineEftposCredentialsProvider : IOnlineEftposCredentialProvider, IDisposable
Remarks
It is recommended you use the SecureStringOnlineEftposCredentialProvider if it is available for your platform. Alternatively, implement your own using the IOnlineEftposCredentialProvider interface, so you can control the life time and encryption status of credentials in memory.
The class holds an instance of OnlineEftposCredentials in memory (containing unencryped values), passed via the constructor, and returns them through the GetCredentials() method.
Constructors
Name | Description |
---|---|
OnlineEftposCredentialsProvider(OnlineEftposCredentials) | Default constructor. |
Methods
Name | Description |
---|---|
Dispose() | Disposes this instance and all internal resources. |
Dispose() | Disposes this instance and all internal resources. |
GetCredentials() | Returns an OnlineEftposCredentials instance containing the credentials required to obtain tokens from the Online Eftpos API. |
GetCredentials() | Returns an OnlineEftposCredentials instance containing the credentials required to obtain tokens from the Online Eftpos API. |