CDCAccountsService
The CDCAccountsService provides a low-level wrapper around the SAP CDC accounts namespace.
Methods
getAccountInfo(params)
Retrieves user account data.
- Key Params:
UID(Required) - Returns:
Promise<AccountsGetAccountInfoResponse>
setAccountInfo(params)
Updates user account data.
- Key Params:
UID(Required),profile,data
login(params)
Logs in a user with a loginID and password.
- Returns:
Promise<AccountsLoginResponse>
register(params)
Registers a new user.
- Key Params:
email,password,profile
initRegistration(params)
Initializes the registration process (e.g., for email verification).
resetPassword(params)
Triggers a password reset flow.
search(params)
Search for accounts using the CDC SQL-like query language.
otp.sendCode(params)
Sends a One-Time Password (OTP) code via email or SMS.
otp.update(params)
Verifies an OTP code and updates the account.
Relates to
CDCUserAuthProvider: The primary user of this service for standard authentication.- Account Management Guide: Practical guide on how to use this service in your own controllers.