Authentication
The Lumaprints API uses Basic HTTP authentication. Use your Lumaprints API Key as the username and API Secret as the password. You can find your API Key and API Secret under Developer > API Keys at https://dashboard.lumaprints.com/developer/apiKeys (or sandbox: https://sandbox.lumaprints.com/developer/apiKeys).
The Authorization header is constructed as follows:
- Username (API KEY) and password (API Secret) are combined into a string "username:password"
- The resulting string is then encoded using the RFC2045-MIME variant of Base64, except not limited to 76 char/line
- The authorization method and a space i.e. "Basic " is then entered before the encoded string.
For example, if the API KEY given is 'Lumaprints' and the API Secret is 'Rocks' then the header is formed as follows:
Authorization: Basic THVtYXByaW50czpSb2Nrcw==
Last modified: 10 months ago