Skip to main content

login_token_route

Function login_token_route 

Source
pub(crate) async fn login_token_route(
    __arg0: State<State>,
    __arg1: ClientIp,
    body: Args<Request>,
) -> Result<Response>
Expand description

ยงPOST /_matrix/client/v1/login/get_token

Allows a logged-in user to get a short-lived token which can be used to log in with the m.login.token flow.

https://spec.matrix.org/v1.13/client-server-api/#post_matrixclientv1loginget_token