OtpConfigBuilder
Namespace: SimpleOTP.Fluent
Class used to streamline OTP code configuration on client devices.
Inheritance Object → OtpConfigBuilder
Attributes NullableContextAttribute, NullableAttribute
Methods
UseTotp(String, Int32)
Use TOTP configuration with optional counter period.
Parameters
accountName String
Account name.
period Int32
Period in seconds.
Returns
OtpConfig
OtpConfig instance.
UseHotp(String, Int64)
Use HOTP configuration with optional counter.
Parameters
accountName String
Account name.
counter Int64
Counter value.
Returns
OtpConfig
OtpConfig instance.
UseApple(String, String, String)
Use TOTP which satisfies Apple's specification requirements.
Parameters
accountName String
Account name.
issuerName String
Issuer/application/service display name.
issuerDomain String
Issuer/application/service domain name.
Returns
OtpConfig
OtpConfig instance.