mention that we can send tokens via headers

pull/977/head
Michael Telatynski 7 years ago
parent cc6b16b63c
commit c2b1b7a10e
No known key found for this signature in database
GPG Key ID: 3F879DA5AD802A5E

@ -95,6 +95,7 @@
- Clarify the relationship between ``username`` and ``user_id`` in the
``/register`` API
(`#1032 <https://github.com/matrix-org/matrix-doc/pull/1032>`_).
- Add mention of ability to send Access Token via an Authorization Header.
r0.2.0
======

@ -171,8 +171,8 @@ Client Authentication
Most API endpoints require the user to identify themselves by presenting
previously obtained credentials in the form of an ``access_token`` query
parameter. An access token is typically obtained via the `Login`_ or
`Registration`_ processes.
parameter or through an Authorization Header of ``Bearer $access_token``.
An access token is typically obtained via the `Login`_ or `Registration`_ processes.
When credentials are required but missing or invalid, the HTTP call will
return with a status of 401 and the error code, ``M_MISSING_TOKEN`` or

Loading…
Cancel
Save