cURL
curl --request POST \ --url http://{host}:{port}/{contextPath}/identity/verify \ --header 'Authorization: Basic <encoded-value>' \ --header 'Content-Type: application/json' \ --data ' { "username": "testUser", "password": "testPassword" } '
{ "authenticatedUser": "testUser", "authenticated": true }
Verifies that user credentials are valid.
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Basic <encoded-value>
<encoded-value>
username:password
The username of a user.
A password of a user.
Request successful.
An id of authenticated user.
A flag indicating if user is authenticated.
Will be null.