AuthContainer.updateMetadata() method
Updates custom metadata of user.
Signature:
updateMetadata(metadata: JSONObject): Promise<User>;
Parameters
Parameter | Type | Description |
---|---|---|
metadata | JSONObject | New custom metadata object |
Returns:
Promise<User>
Remarks
The provided new metadata object would replace the old metadata.