Authenticating (REST)

AM provides the /json/authenticate endpoint for authentication, and the /json/sessions endpoint for managing sessions and logging out.

The following table summarizes authentication operations you can perform using REST:

TaskResources

Authenticate to AM

Authenticating to AM means logging in to a specific realm and receiving a session token from AM. Add parameters to the authentication request to provide AM with more information about how you want to authenticate.

See "Logging in to AM Using REST"

Use the Session Token

AM provides you with a session token after authenticating to a realm. Use this token in subsequent calls to AM. For example, when using REST calls to create, modify, or delete configuration objects.

See "Using the Session Token After Authentication"

Log Out of AM

Log out your users by sending a logout action to the /json/sessions endpoint.

See "Logging out of AM Using REST"

Invalidate Sessions

Obtain all the sessions for a given user and invalidate them to ensure they are logged out of AM.

See "Invalidating All Sessions for a Given User"
Read a different version of :