AccountManagementInterface
Magento\Customer\Api\AccountManagementInterface
What it does
This interface defines the core customer account management operations in Magento 2.
Developers use this to create customer accounts, authenticate users, handle password resets, manage account activation/confirmation, and retrieve customer addresses.
It serves as the main API contract for all customer account-related business operations, ensuring consistent handling of customer lifecycle management across the platform.
Public Methods
- createAccount()
- createAccountWithPasswordHash()
- validate()
- isReadonly()
- activate()
- activateById()
- authenticate()
- changePassword()
- changePasswordById()
- initiatePasswordReset()
- resetPassword()
- validateResetPasswordLinkToken()
- getConfirmationStatus()
- resendConfirmation()
- isEmailAvailable()
- isCustomerInStore()
- getDefaultBillingAddress()
- getDefaultShippingAddress()
- getPasswordHash()