Liking cljdoc? Tell your friends :D

matrix-client-server-api.api.session-management


loginclj

(login)
(login optional-params)

Authenticates the user. Authenticates the user, and issues an access token they can use to authorize themself in subsequent requests.

If the client does not supply a device_id, the server must auto-generate one.

The returned access token must be associated with the device_id supplied by the client or generated by the server. The server may invalidate any access token previously associated with that device. See Relationship between access tokens and devices_.

Authenticates the user.
  Authenticates the user, and issues an access token they can
use to authorize themself in subsequent requests.

If the client does not supply a ``device_id``, the server must
auto-generate one.

The returned access token must be associated with the ``device_id``
supplied by the client or generated by the server. The server may
invalidate any access token previously associated with that device. See
`Relationship between access tokens and devices`_.
raw docstring

login-with-http-infoclj

(login-with-http-info)
(login-with-http-info {:keys [body]})

Authenticates the user. Authenticates the user, and issues an access token they can use to authorize themself in subsequent requests.

If the client does not supply a device_id, the server must auto-generate one.

The returned access token must be associated with the device_id supplied by the client or generated by the server. The server may invalidate any access token previously associated with that device. See Relationship between access tokens and devices_.

Authenticates the user.
  Authenticates the user, and issues an access token they can
use to authorize themself in subsequent requests.

If the client does not supply a ``device_id``, the server must
auto-generate one.

The returned access token must be associated with the ``device_id``
supplied by the client or generated by the server. The server may
invalidate any access token previously associated with that device. See
`Relationship between access tokens and devices`_.
raw docstring

logoutclj

(logout)

Invalidates a user access token Invalidates an existing access token, so that it can no longer be used for authorization.

Invalidates a user access token
  Invalidates an existing access token, so that it can no longer be used for
authorization.
raw docstring

logout-with-http-infoclj

(logout-with-http-info)

Invalidates a user access token Invalidates an existing access token, so that it can no longer be used for authorization.

Invalidates a user access token
  Invalidates an existing access token, so that it can no longer be used for
authorization.
raw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close