The authentication API is manages HMP user sessions and provides access to REST API resources via session cookies or authorization tokens.
-
Local users: To obtain a session cookie, execute the (4.1) Initiate User Session command using your username and password.
-
IDP users: To obtain a authorization token, execute the (4.1) Initiate IDP User Session command using your API key and secret.
-
To terminate the session, execute a (4.1) Delete a User Session command.
You can check if a session exists or is valid with a (4.1) Get User Session Info (local users) or (4.1) Get IDP User Session Info (IDP users) command.