[ ] All new/changed/fixed functionality is covered by tests (or N/A)
[ ] I have added documentation for all new/changed functionality (or N/A)
📋 Changes
This PR marks as deprecated the patch(_:attributes:) method of the Management API client, as it's no longer possible to update user attributes such as email and password from native clients.
Also, the respective methods of the UserPatchAttributes class –taken as input by the above method– were also marked as deprecated. The only method of UserPatchAttributes that was not marked as deprecated is the one that allows setting new user_metadata values, as that's the only user attribute that can still be updated from native clients.
📋 Changes
This PR marks as deprecated the
patch(_:attributes:)
method of the Management API client, as it's no longer possible to update user attributes such as email and password from native clients.Also, the respective methods of the
UserPatchAttributes
class –taken as input by the above method– were also marked as deprecated. The only method ofUserPatchAttributes
that was not marked as deprecated is the one that allows setting newuser_metadata
values, as that's the only user attribute that can still be updated from native clients.📎 References
See https://auth0.com/docs/secure/tokens/access-tokens/get-management-api-tokens-for-single-page-applications -> talks about SPAs but also applies to native apps (both are public clients)