Skip to content

Commit

Permalink
move login API definitions to the right heading (#1382)
Browse files Browse the repository at this point in the history
* move login API definitions to the right heading

regressed from matrix-org/matrix-spec-proposals#3324

* Create 1382.clarification
  • Loading branch information
HarHarLinks committed Dec 19, 2022
1 parent f386c90 commit 05d2bc4
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 7 deletions.
1 change: 1 addition & 0 deletions changelogs/client_server/newsfragments/1382.clarification
@@ -0,0 +1 @@
Move login API definitions to the right heading. Contributed by @HarHarLinks.
14 changes: 7 additions & 7 deletions content/client-server-api/_index.md
Expand Up @@ -1145,6 +1145,12 @@ client supports it, the client should redirect the user to the
is complete, the client will need to submit a `/login` request matching
`m.login.token`.

{{% http-api spec="client-server" api="login" %}}

{{% http-api spec="client-server" api="refresh" %}}

{{% http-api spec="client-server" api="logout" %}}

#### Appservice Login

{{% added-in v="1.2" %}}
Expand Down Expand Up @@ -1182,12 +1188,6 @@ If the access token does correspond to an appservice, but the user id does
not lie within its namespace then the homeserver will respond with an
errcode of `M_EXCLUSIVE`.

{{% http-api spec="client-server" api="login" %}}

{{% http-api spec="client-server" api="refresh" %}}

{{% http-api spec="client-server" api="logout" %}}

#### Login Fallback

If a client does not recognize any or all login flows it can use the
Expand Down Expand Up @@ -2646,4 +2646,4 @@ systems.
{{< cs-module name="spaces" >}}
{{< cs-module name="event_replacements" >}}
{{< cs-module name="threading" >}}
{{< cs-module name="reference_relations" >}}
{{< cs-module name="reference_relations" >}}

0 comments on commit 05d2bc4

Please sign in to comment.