Class OnetimePasswordGeneratorFactory
Factory that makes instantiating and configuring onetime password generators more concise. Also provides methods for creating password generators from otp urls, and generating new urls.
Inheritance
Inherited Members
Namespace: Yort.Otp
Assembly: cs.temp.dll.dll
Syntax
public class OnetimePasswordGeneratorFactory
Methods
Name | Description |
---|---|
CreateFactory(Boolean, IHashAlgorithm, Int32) | Returns a factory instance that creates pre-configured CounterBasedPasswordGenerator instances. |
CreateFactory(Boolean, IHashAlgorithm, Int32) | Returns a factory instance that creates pre-configured CounterBasedPasswordGenerator instances. |
CreateFactory(Boolean, IHashAlgorithm, Int32, TimeSpan) | Returns a factory instance that creates pre-configured TimeBasedPasswordGenerator instances. |
CreateFactory(Boolean, IHashAlgorithm, Int32, TimeSpan) | Returns a factory instance that creates pre-configured TimeBasedPasswordGenerator instances. |
CreateNewPasswordGenerator(Byte[]) | Returns a time based password generator. |
CreateNewPasswordGenerator(Byte[]) | Returns a time based password generator. |
CreateNewPasswordGenerator(Byte[], Int64) | Returns a counter based password generator. |
CreateNewPasswordGenerator(Byte[], Int64) | Returns a counter based password generator. |
FromOtpUrl(Uri) | Creates either a TimeBasedPasswordGenerator or CounterBasedPasswordGenerator instance pre-configured with values from an otp style uri. |
FromOtpUrl(Uri, out String, out Byte[], out IDictionary<String, String>) | Creates either a TimeBasedPasswordGenerator or CounterBasedPasswordGenerator instance pre-configured with values from an otp style uri. |
GetOtpUrl(String, String, Int32, Byte[], Int64, IDictionary<String, String>) | Creates a new |
GetOtpUrl(String, String, Int32, Byte[], Int64, IDictionary<String, String>) | Creates a new |
GetOtpUrl(String, String, Int32, Byte[], TimeSpan, IDictionary<String, String>) | Creates a new |
GetOtpUrl(String, String, Int32, Byte[], TimeSpan, IDictionary<String, String>) | Creates a new |