Spend a Reset code and set the new password. Revokes every Session for that user and does not create a new one.
Issue a Reset code and return its link without sending anything, for Capsules that deliver through their own mail path.
Unlike sendEmailPasswordResetLink this throws for an unregistered email,
because its whole purpose is to return a link. It is server-only: exposing
its result to an unauthenticated caller reintroduces account enumeration.
Issue a Reset code and deliver it over the runtime SMTP transport.
Resolves identically whether or not the email is registered, so it cannot be used to enumerate accounts. Throws only when mail is not configured or email auth is disabled.
Optionaloptions: PasswordResetMailOptionsUpdate the password for an existing email credential. Throws if the email is not registered.
Report which account a Reset code belongs to. Does not spend the code.
Server-only auth management API.
Available to trusted Capsule handlers. Lets server code update email credentials (e.g. for password reset flows) without direct access to the internal auth database.