Basics

Requests to the MILK API on behalf of a user are authenticated using a token.

For details on how to use a token, see Using Tokens.

For details on what is in a token, see Token Format.

For example requests and responses, see Authentication Examples.

Obtaining a Token

The MILK API has 2 ways of authenticating users to obtain a token.

  1. Internal
  2. External

Once you have let MILK know which method you will be using to authenticate your users, we'll set up your account and issue with the required credentials for your chosen method.

Both Internal and External Authentication strategies allow creation of Anonymous Users.

Selecting an Authentication Method

Internal Authentication might be the most appropriate in the following situations:

External Authentication would work the best in the following situation: