Confirms new account sign-up using the verification code from getSignUpCode.
Contains username and verificationCode
Initiates password reset by sending a verification code to the user's email.
User must then call setNewPassword with the received code.
Contains username (email)
Sends a verification code to the user's email for new account sign-up.
User must then call confirmSignUp with the received code.
Contains username (email) and password
Authenticates with email/username and password.
On success, stores the user in userStore; access via userStore.user.
Contains username and password
API response with the observed user entity
Authenticates via OAuth (e.g. Google, Apple).
On success, stores the user in userStore; access via userStore.user.
Contains identityProvider (e.g. "google", "apple")
API response with the observed user entity
Completes password reset using the verification code from forgotPassword.
Contains username, newPassword, and verificationCode
Delegates auth calls to the active adaptor. All methods pass through to the adaptor; login and loginWithOauth also store the result in userStore.
Example