Authentication





Wyscout APIs Authentication


Wyscout APIs Authentication

back to index


Table of contents

Overview

This page explain how to authenticate to Wyscout APIs using Basic Access Authentication.

Using your client software

Depending on your client software you should be provided with a mechanism for supplying an username and password: that will build the required authentication headers automatically.
For example you can specify the -u argument with curl as username:password.

Supplying Basic Access Authentication headers

It is possible to construct the authentication headers manually:

  • Build a string of the form username:password.
  • Encode the string in Base64
  • Supply an "Authorization" header with content "Basic " followed by the encoded string.

For example, the string "Aladdin:OpenSesame" encodes to "QWxhZGRpbjpPcGVuU2VzYW1l" in base64, so you would use this string "Authorization: Basic QWxhZGRpbjpPcGVuU2VzYW1l"

back to index