mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-25 05:58:45 +00:00
chore: renamed one time password to OTP (#11447)
# Which Problems Are Solved naming consistency for TOTP/OTP # How the Problems Are Solved # Additional Changes # Additional Context - Closes #11299 - Closes #11302 - Closes #11304 --------- Co-authored-by: Marco A. <[email protected]> Co-authored-by: Florian Forster <[email protected]> Co-authored-by: Copilot <[email protected]>
This commit is contained in:
co-authored by
Marco A.
Florian Forster
Copilot
parent
61d4060df3
commit
b99271755b
@@ -156,12 +156,12 @@ type humanEmailChanges interface {
|
||||
// * [VerificationTypeUpdate] to update email verification, a verification must exist (e.g. resend code)
|
||||
// * [VerificationTypeSkipped] to skip email verification, existing verification is removed (e.g. admin set email)
|
||||
SetEmail(verification VerificationType) database.Change
|
||||
// CheckEmailOTP sets the email OTP based on the check
|
||||
// CheckEmailOTP sets the OTP Email based on the check
|
||||
// * [CheckTypeInit] to initialize a new check, previous check is overwritten
|
||||
// * [CheckTypeFailed] increments failed attempts
|
||||
// * [CheckTypeSucceeded] to mark the check as succeeded, removes the check and updates verified at time
|
||||
CheckEmailOTP(check CheckType) database.Change
|
||||
// EnableEmailOTPAt enables the email OTP
|
||||
// EnableEmailOTPAt enables the OTP Email
|
||||
// If enabledAt is zero, it will be set to NOW()
|
||||
EnableEmailOTPAt(enabledAt time.Time) database.Change
|
||||
// EnableEmailOTP sets the enabled at time to NOW()
|
||||
@@ -179,12 +179,12 @@ type humanPhoneChanges interface {
|
||||
SetPhone(verification VerificationType) database.Change
|
||||
// RemovePhone removes the phone number
|
||||
RemovePhone() database.Change
|
||||
// CheckSMSOTP sets the SMS OTP based on the check
|
||||
// CheckSMSOTP sets the OTP SMS based on the check
|
||||
// * [CheckTypeInit] to initialize a new check, previous check is overwritten
|
||||
// * [CheckTypeFailed] increments failed attempts
|
||||
// * [CheckTypeSucceeded] to mark the check as succeeded, removes the check and updates verified at time
|
||||
CheckSMSOTP(check CheckType) database.Change
|
||||
// EnableSMSOTPAt enables the SMS OTP
|
||||
// EnableSMSOTPAt enables the OTP SMS
|
||||
// If enabledAt is zero, it will be set to NOW()
|
||||
EnableSMSOTPAt(enabledAt time.Time) database.Change
|
||||
// EnableSMSOTP sets the enabled at time to NOW()
|
||||
|
||||
Reference in New Issue
Block a user