feat(identity): confirm the email address with a six-digit code from the message
This commit is contained in:
1 parent
c94434cd09
commit
d365a05c96
87 files changed
+4764
-224
No files matched your search
@@ -16,6 +16,7 @@ type AccountRegistration interface {
|
||||
// EmailConfirmation is what IdentityHandler needs from the confirmation usecase.
|
||||
type EmailConfirmation interface {
|
||||
Confirm(ctx context.Context, command identity.ConfirmCommand) (identity.ConfirmationResult, error)
|
||||
ConfirmByCode(ctx context.Context, command identity.ConfirmCodeCommand) (identity.ConfirmationResult, error)
|
||||
}
|
||||
|
||||
// IdentityHandlerOption configures an optional identity operation.
|
||||
|
||||
Reference in new issue
Block a user