ConstChange the password.
The current password is required and verified server-side.
Existing password
Replacement
Replacement, repeated
Promise with the outcome
Read the signed-in user's profile.
Promise with the profile
Read the user-scoped settings map.
Promise with the settings
Save the user-scoped settings map.
Keys the server does not recognise as user-scoped are ignored rather than stored, so sending the whole map back is safe.
Settings keyed by name
Promise with the outcome
Update username and email.
New username
New email
Promise with the outcome, flagging whether the email changed
Profile API methods.