package
0.3.1
Repository: https://github.com/kotalco/core-api.git
Documentation: pkg.go.dev

# Functions

ChangeEmail change user email and send verification token to the user email.
ChangePassword change user password todo log all user token out.
CreateTOTP create time based one time password QR code so user can scan it with his mobile app.
No description provided by the author
EnableTwoFactorAuth used one time when user scan the QR code to verify it scanned and configured correctly then it enables two-factor auth for the user.
ForgetPassword send verification token to user email to reset password.
ResetPassword resets user password by accepting token hash and new password.
SendEmailVerification send email verification for user who users with email verification token got expired users who didn't receive email verification and want to resent token.
SignIn creates bearer token for the yse.
SignUp validate dto , create user , send verification token, create the default namespace and create the default workspace.
VerifyEmail verify user email by email and token hash send to it's email.
VerifyTOTP used after the login if the user enabled 2fa his bearer token will be limited to specific functions including this one create new bearer token for the user after totp validation.
No description provided by the author