Authentication messages

The following schemas represent the request and response messages used by the authentication service.

Login

The authentication service exposes a login operation. The following pair of schemas defines the request and response messages it deals with.

Request

The request schema represents a login request message that allows us to validate a user's credentials, and is coded as follows:

{
    "$schema": "http://json-schema.org/draft-03/schema#",
    "$content_type": "application/vnd.ccm.login.req.v1+json",
    "type": "object",
    "additionalProperties": false,
    "properties": {
        "username": {
            "type":"string",
            "required": true
        },
        "password": {
            "type":"string",
            "required": true
        }
    }
}

Response

The response schema represents the response to a login request, ...

Get RabbitMQ Essentials now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.