Uses of Class
software.amazon.awssdk.services.cognitoidentityprovider.model.ForbiddenException
Packages that use ForbiddenException
Package
Description
With the Amazon Cognito user pools API, you can configure user pools and authenticate users.
-
Uses of ForbiddenException in software.amazon.awssdk.services.cognitoidentityprovider
Methods in software.amazon.awssdk.services.cognitoidentityprovider that throw ForbiddenExceptionModifier and TypeMethodDescriptiondefault AssociateSoftwareTokenResponseCognitoIdentityProviderClient.associateSoftwareToken(Consumer<AssociateSoftwareTokenRequest.Builder> associateSoftwareTokenRequest) Begins setup of time-based one-time password (TOTP) multi-factor authentication (MFA) for a user, with a unique private key that Amazon Cognito generates and returns in the API response.default AssociateSoftwareTokenResponseCognitoIdentityProviderClient.associateSoftwareToken(AssociateSoftwareTokenRequest associateSoftwareTokenRequest) Begins setup of time-based one-time password (TOTP) multi-factor authentication (MFA) for a user, with a unique private key that Amazon Cognito generates and returns in the API response.default ChangePasswordResponseCognitoIdentityProviderClient.changePassword(Consumer<ChangePasswordRequest.Builder> changePasswordRequest) Changes the password for the currently signed-in user.default ChangePasswordResponseCognitoIdentityProviderClient.changePassword(ChangePasswordRequest changePasswordRequest) Changes the password for the currently signed-in user.CognitoIdentityProviderClient.completeWebAuthnRegistration(Consumer<CompleteWebAuthnRegistrationRequest.Builder> completeWebAuthnRegistrationRequest) Completes registration of a passkey authenticator for the currently signed-in user.CognitoIdentityProviderClient.completeWebAuthnRegistration(CompleteWebAuthnRegistrationRequest completeWebAuthnRegistrationRequest) Completes registration of a passkey authenticator for the currently signed-in user.default ConfirmDeviceResponseCognitoIdentityProviderClient.confirmDevice(Consumer<ConfirmDeviceRequest.Builder> confirmDeviceRequest) Confirms a device that a user wants to remember.default ConfirmDeviceResponseCognitoIdentityProviderClient.confirmDevice(ConfirmDeviceRequest confirmDeviceRequest) Confirms a device that a user wants to remember.default ConfirmForgotPasswordResponseCognitoIdentityProviderClient.confirmForgotPassword(Consumer<ConfirmForgotPasswordRequest.Builder> confirmForgotPasswordRequest) This public API operation accepts a confirmation code that Amazon Cognito sent to a user and accepts a new password for that user.default ConfirmForgotPasswordResponseCognitoIdentityProviderClient.confirmForgotPassword(ConfirmForgotPasswordRequest confirmForgotPasswordRequest) This public API operation accepts a confirmation code that Amazon Cognito sent to a user and accepts a new password for that user.default ConfirmSignUpResponseCognitoIdentityProviderClient.confirmSignUp(Consumer<ConfirmSignUpRequest.Builder> confirmSignUpRequest) Confirms the account of a new user.default ConfirmSignUpResponseCognitoIdentityProviderClient.confirmSignUp(ConfirmSignUpRequest confirmSignUpRequest) Confirms the account of a new user.default DeleteUserResponseCognitoIdentityProviderClient.deleteUser(Consumer<DeleteUserRequest.Builder> deleteUserRequest) Deletes the profile of the currently signed-in user.default DeleteUserResponseCognitoIdentityProviderClient.deleteUser(DeleteUserRequest deleteUserRequest) Deletes the profile of the currently signed-in user.default DeleteUserAttributesResponseCognitoIdentityProviderClient.deleteUserAttributes(Consumer<DeleteUserAttributesRequest.Builder> deleteUserAttributesRequest) Deletes attributes from the currently signed-in user.default DeleteUserAttributesResponseCognitoIdentityProviderClient.deleteUserAttributes(DeleteUserAttributesRequest deleteUserAttributesRequest) Deletes attributes from the currently signed-in user.default DeleteWebAuthnCredentialResponseCognitoIdentityProviderClient.deleteWebAuthnCredential(Consumer<DeleteWebAuthnCredentialRequest.Builder> deleteWebAuthnCredentialRequest) Deletes a registered passkey, or WebAuthn, authenticator for the currently signed-in user.default DeleteWebAuthnCredentialResponseCognitoIdentityProviderClient.deleteWebAuthnCredential(DeleteWebAuthnCredentialRequest deleteWebAuthnCredentialRequest) Deletes a registered passkey, or WebAuthn, authenticator for the currently signed-in user.default ForgetDeviceResponseCognitoIdentityProviderClient.forgetDevice(Consumer<ForgetDeviceRequest.Builder> forgetDeviceRequest) Given a device key, deletes a remembered device as the currently signed-in user.default ForgetDeviceResponseCognitoIdentityProviderClient.forgetDevice(ForgetDeviceRequest forgetDeviceRequest) Given a device key, deletes a remembered device as the currently signed-in user.default ForgotPasswordResponseCognitoIdentityProviderClient.forgotPassword(Consumer<ForgotPasswordRequest.Builder> forgotPasswordRequest) Sends a password-reset confirmation code to the email address or phone number of the requested username.default ForgotPasswordResponseCognitoIdentityProviderClient.forgotPassword(ForgotPasswordRequest forgotPasswordRequest) Sends a password-reset confirmation code to the email address or phone number of the requested username.default GetDeviceResponseCognitoIdentityProviderClient.getDevice(Consumer<GetDeviceRequest.Builder> getDeviceRequest) Given a device key, returns information about a remembered device for the current user.default GetDeviceResponseCognitoIdentityProviderClient.getDevice(GetDeviceRequest getDeviceRequest) Given a device key, returns information about a remembered device for the current user.CognitoIdentityProviderClient.getTokensFromRefreshToken(Consumer<GetTokensFromRefreshTokenRequest.Builder> getTokensFromRefreshTokenRequest) Given a refresh token, issues new ID, access, and optionally refresh tokens for the user who owns the submitted token.CognitoIdentityProviderClient.getTokensFromRefreshToken(GetTokensFromRefreshTokenRequest getTokensFromRefreshTokenRequest) Given a refresh token, issues new ID, access, and optionally refresh tokens for the user who owns the submitted token.default GetUserResponseCognitoIdentityProviderClient.getUser(Consumer<GetUserRequest.Builder> getUserRequest) Gets user attributes and and MFA settings for the currently signed-in user.default GetUserResponseCognitoIdentityProviderClient.getUser(GetUserRequest getUserRequest) Gets user attributes and and MFA settings for the currently signed-in user.CognitoIdentityProviderClient.getUserAttributeVerificationCode(Consumer<GetUserAttributeVerificationCodeRequest.Builder> getUserAttributeVerificationCodeRequest) Given an attribute name, sends a user attribute verification code for the specified attribute name to the currently signed-in user.CognitoIdentityProviderClient.getUserAttributeVerificationCode(GetUserAttributeVerificationCodeRequest getUserAttributeVerificationCodeRequest) Given an attribute name, sends a user attribute verification code for the specified attribute name to the currently signed-in user.default GetUserAuthFactorsResponseCognitoIdentityProviderClient.getUserAuthFactors(Consumer<GetUserAuthFactorsRequest.Builder> getUserAuthFactorsRequest) Lists the authentication options for the currently signed-in user.default GetUserAuthFactorsResponseCognitoIdentityProviderClient.getUserAuthFactors(GetUserAuthFactorsRequest getUserAuthFactorsRequest) Lists the authentication options for the currently signed-in user.default GlobalSignOutResponseCognitoIdentityProviderClient.globalSignOut(Consumer<GlobalSignOutRequest.Builder> globalSignOutRequest) Invalidates the identity, access, and refresh tokens that Amazon Cognito issued to a user.default GlobalSignOutResponseCognitoIdentityProviderClient.globalSignOut(GlobalSignOutRequest globalSignOutRequest) Invalidates the identity, access, and refresh tokens that Amazon Cognito issued to a user.default InitiateAuthResponseCognitoIdentityProviderClient.initiateAuth(Consumer<InitiateAuthRequest.Builder> initiateAuthRequest) Declares an authentication flow and initiates sign-in for a user in the Amazon Cognito user directory.default InitiateAuthResponseCognitoIdentityProviderClient.initiateAuth(InitiateAuthRequest initiateAuthRequest) Declares an authentication flow and initiates sign-in for a user in the Amazon Cognito user directory.default ListDevicesResponseCognitoIdentityProviderClient.listDevices(Consumer<ListDevicesRequest.Builder> listDevicesRequest) Lists the devices that Amazon Cognito has registered to the currently signed-in user.default ListDevicesResponseCognitoIdentityProviderClient.listDevices(ListDevicesRequest listDevicesRequest) Lists the devices that Amazon Cognito has registered to the currently signed-in user.default ListWebAuthnCredentialsResponseCognitoIdentityProviderClient.listWebAuthnCredentials(Consumer<ListWebAuthnCredentialsRequest.Builder> listWebAuthnCredentialsRequest) Generates a list of the currently signed-in user's registered passkey, or WebAuthn, credentials.default ListWebAuthnCredentialsResponseCognitoIdentityProviderClient.listWebAuthnCredentials(ListWebAuthnCredentialsRequest listWebAuthnCredentialsRequest) Generates a list of the currently signed-in user's registered passkey, or WebAuthn, credentials.default ResendConfirmationCodeResponseCognitoIdentityProviderClient.resendConfirmationCode(Consumer<ResendConfirmationCodeRequest.Builder> resendConfirmationCodeRequest) Resends the code that confirms a new account for a user who has signed up in your user pool.default ResendConfirmationCodeResponseCognitoIdentityProviderClient.resendConfirmationCode(ResendConfirmationCodeRequest resendConfirmationCodeRequest) Resends the code that confirms a new account for a user who has signed up in your user pool.default RespondToAuthChallengeResponseCognitoIdentityProviderClient.respondToAuthChallenge(Consumer<RespondToAuthChallengeRequest.Builder> respondToAuthChallengeRequest) Some API operations in a user pool generate a challenge, like a prompt for an MFA code, for device authentication that bypasses MFA, or for a custom authentication challenge.default RespondToAuthChallengeResponseCognitoIdentityProviderClient.respondToAuthChallenge(RespondToAuthChallengeRequest respondToAuthChallengeRequest) Some API operations in a user pool generate a challenge, like a prompt for an MFA code, for device authentication that bypasses MFA, or for a custom authentication challenge.default RevokeTokenResponseCognitoIdentityProviderClient.revokeToken(Consumer<RevokeTokenRequest.Builder> revokeTokenRequest) Revokes all of the access tokens generated by, and at the same time as, the specified refresh token.default RevokeTokenResponseCognitoIdentityProviderClient.revokeToken(RevokeTokenRequest revokeTokenRequest) Revokes all of the access tokens generated by, and at the same time as, the specified refresh token.default SetUserMfaPreferenceResponseCognitoIdentityProviderClient.setUserMFAPreference(Consumer<SetUserMfaPreferenceRequest.Builder> setUserMfaPreferenceRequest) Set the user's multi-factor authentication (MFA) method preference, including which MFA factors are activated and if any are preferred.default SetUserMfaPreferenceResponseCognitoIdentityProviderClient.setUserMFAPreference(SetUserMfaPreferenceRequest setUserMfaPreferenceRequest) Set the user's multi-factor authentication (MFA) method preference, including which MFA factors are activated and if any are preferred.default SetUserSettingsResponseCognitoIdentityProviderClient.setUserSettings(Consumer<SetUserSettingsRequest.Builder> setUserSettingsRequest) This action is no longer supported. You can use it to configure only SMS MFA.default SetUserSettingsResponseCognitoIdentityProviderClient.setUserSettings(SetUserSettingsRequest setUserSettingsRequest) This action is no longer supported. You can use it to configure only SMS MFA.default SignUpResponseCognitoIdentityProviderClient.signUp(Consumer<SignUpRequest.Builder> signUpRequest) Registers a user with an app client and requests a user name, password, and user attributes in the user pool.default SignUpResponseCognitoIdentityProviderClient.signUp(SignUpRequest signUpRequest) Registers a user with an app client and requests a user name, password, and user attributes in the user pool.CognitoIdentityProviderClient.startWebAuthnRegistration(Consumer<StartWebAuthnRegistrationRequest.Builder> startWebAuthnRegistrationRequest) Requests credential creation options from your user pool for the currently signed-in user.CognitoIdentityProviderClient.startWebAuthnRegistration(StartWebAuthnRegistrationRequest startWebAuthnRegistrationRequest) Requests credential creation options from your user pool for the currently signed-in user.default UpdateDeviceStatusResponseCognitoIdentityProviderClient.updateDeviceStatus(Consumer<UpdateDeviceStatusRequest.Builder> updateDeviceStatusRequest) Updates the status of a the currently signed-in user's device so that it is marked as remembered or not remembered for the purpose of device authentication.default UpdateDeviceStatusResponseCognitoIdentityProviderClient.updateDeviceStatus(UpdateDeviceStatusRequest updateDeviceStatusRequest) Updates the status of a the currently signed-in user's device so that it is marked as remembered or not remembered for the purpose of device authentication.default UpdateUserAttributesResponseCognitoIdentityProviderClient.updateUserAttributes(Consumer<UpdateUserAttributesRequest.Builder> updateUserAttributesRequest) Updates the currently signed-in user's attributes.default UpdateUserAttributesResponseCognitoIdentityProviderClient.updateUserAttributes(UpdateUserAttributesRequest updateUserAttributesRequest) Updates the currently signed-in user's attributes.default VerifySoftwareTokenResponseCognitoIdentityProviderClient.verifySoftwareToken(Consumer<VerifySoftwareTokenRequest.Builder> verifySoftwareTokenRequest) Registers the current user's time-based one-time password (TOTP) authenticator with a code generated in their authenticator app from a private key that's supplied by your user pool.default VerifySoftwareTokenResponseCognitoIdentityProviderClient.verifySoftwareToken(VerifySoftwareTokenRequest verifySoftwareTokenRequest) Registers the current user's time-based one-time password (TOTP) authenticator with a code generated in their authenticator app from a private key that's supplied by your user pool.default VerifyUserAttributeResponseCognitoIdentityProviderClient.verifyUserAttribute(Consumer<VerifyUserAttributeRequest.Builder> verifyUserAttributeRequest) Submits a verification code for a signed-in user who has added or changed a value of an auto-verified attribute.default VerifyUserAttributeResponseCognitoIdentityProviderClient.verifyUserAttribute(VerifyUserAttributeRequest verifyUserAttributeRequest) Submits a verification code for a signed-in user who has added or changed a value of an auto-verified attribute.