-
-
Notifications
You must be signed in to change notification settings - Fork 1
simpleotp.fluent.otpconfigbuilder
Eugene Fox edited this page Sep 18, 2024
·
1 revision
Namespace: SimpleOTP.Fluent
Class used to streamline OTP code configuration on client devices.
public static class OtpConfigBuilder
Inheritance Object → OtpConfigBuilder
Attributes NullableContextAttribute, NullableAttribute
Use TOTP configuration with optional counter period.
public static OtpConfig UseTotp(string accountName, int period)
accountName
String
Account name.
period
Int32
Period in seconds.
Use HOTP configuration with optional counter.
public static OtpConfig UseHotp(string accountName, long counter)
accountName
String
Account name.
counter
Int64
Counter value.
Use TOTP which satisfies Apple's specification requirements.
public static OtpConfig UseApple(string accountName, string issuerName, string issuerDomain)
accountName
String
Account name.
issuerName
String
Issuer/application/service display name.
issuerDomain
String
Issuer/application/service domain name.
©2025 Eugene Fox. Licensed under MIT license