It will be used to fetch current user details and validate credentials at the same time.
The endpoint to call is /site/automation/login (POST).
After-Implementation Note
At first I would have call the new method when initializing the client, but it would break Nuxeo Drive when credentials are obsoletes. So there is just a new method and developers are free to call it.
- is related to
-
NXPY-220 Use a REST API call instead of Automation for Users.current_user()
- Resolved
- is required by
-
NXDRIVE-1983 [Direct Transfer] Handle username containing non-letter characters
- Resolved