Interface IOnetimePasswordGenerator
Common interface for classes that can generate second authentication factor passwords.
Namespace: Yort.Otp
Assembly: cs.temp.dll.dll
Syntax
public interface IOnetimePasswordGenerator : IDisposable
Properties
| Name | Description |
|---|---|
| GeneratedPassword | Returns a string containing the current password. |
| HashAlgorithm | Sets or returns the hash algorithm used with the secret to generate passwords. |
| PasswordLength | Sets or returns then length of password to generate. Default value is 6, usual values are 6 or 8. |
Methods
| Name | Description |
|---|---|
| SetSecret(Byte[]) | Sets the secret value used to generate passwords. |