Offers the IdP on the app client's sign-in; a no-op when it already is.
Lets sign-in return to callbackUrl and sign-out land on logoutUrl; a no-op when both already do.
A SAML or OIDC IdP whose IdpIdentifiers are domains, so managed login
routes those email domains to it, mapped by tenantAttributeMapping.
A passwordless user with a verified email; no invitation is sent and no
phone is set. USERNAME_EXISTS when the pool already has the address.
IDENTITY_PROVIDER_NOT_FOUND when the pool has no such IdP: already deleted.
Deletes the user's authenticator app (AdminDeleteSoftwareToken); their
other factors stay. NO_AUTHENTICATOR when they have none registered.
Unlinks one IdP identity from the user it is linked to (AdminDisableProviderForUser).
Stops the user signing in and revokes their access tokens (AdminDisableUser).
Lets a disabled user sign in again (AdminEnableUser).
The pool's user with exactly this email, or null. Two users on one email is a pool fault and throws.
The user's status (AdminGetUser), MFA factors and passkey
(AdminGetUserAuthFactors), by the pool's own username; null when the
pool has no such user.
The user by sub or email, with its username and every IdP identity linked to it; null when none.
Revokes every refresh token the user holds; issued access tokens stay valid until they expire.
Withdraws the IdP from the app client's sign-in; a no-op when it is not offered.
Withdraws callbackUrl and logoutUrl from the app client; a no-op when neither is listed.
Emails an UNCONFIRMED user a new sign-up code, as the sign-in page's
resend does, on appClient; the user still confirms it themselves.
The sign-in screens' own Forgot password (CognitoAuthClient.sendPasswordSetupCode)
on appClient, with its secret read from the pool, so no second copy of
the secret is kept. A federated login is sent nothing and answers ok.
Always resends domains: the pre sign-up Lambda refuses any email outside
the IdP's identifiers. config must keep the IdP's protocol, which
Cognito cannot change; without it the provider details stay as they are.
Admin reads and writes on one user pool, for provisioning. Credentials come from the environment.