Merge pull request #1044 from t3chguy/access_token_header
mention that we can send tokens via headers
This commit is contained in:
commit
c7c08eaf0f
2 changed files with 3 additions and 2 deletions
|
@ -50,6 +50,7 @@
|
||||||
(`#894 <https://github.com/matrix-org/matrix-doc/pull/894>`_).
|
(`#894 <https://github.com/matrix-org/matrix-doc/pull/894>`_).
|
||||||
- Add ``m.room.pinned_events`` state event for rooms.
|
- Add ``m.room.pinned_events`` state event for rooms.
|
||||||
(`#1007 <https://github.com/matrix-org/matrix-doc/pull/1007>`_).
|
(`#1007 <https://github.com/matrix-org/matrix-doc/pull/1007>`_).
|
||||||
|
- Add mention of ability to send Access Token via an Authorization Header.
|
||||||
|
|
||||||
- New endpoints:
|
- New endpoints:
|
||||||
|
|
||||||
|
|
|
@ -171,8 +171,8 @@ Client Authentication
|
||||||
|
|
||||||
Most API endpoints require the user to identify themselves by presenting
|
Most API endpoints require the user to identify themselves by presenting
|
||||||
previously obtained credentials in the form of an ``access_token`` query
|
previously obtained credentials in the form of an ``access_token`` query
|
||||||
parameter. An access token is typically obtained via the `Login`_ or
|
parameter or through an Authorization Header of ``Bearer $access_token``.
|
||||||
`Registration`_ processes.
|
An access token is typically obtained via the `Login`_ or `Registration`_ processes.
|
||||||
|
|
||||||
When credentials are required but missing or invalid, the HTTP call will
|
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
|
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