mention that we can send tokens via headers
This commit is contained in:
parent
cc6b16b63c
commit
c2b1b7a10e
2 changed files with 3 additions and 2 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue