Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

/tokenrefresh POST endpoint #240

Merged
merged 9 commits into from
Aug 20, 2015
Merged

/tokenrefresh POST endpoint #240

merged 9 commits into from
Aug 20, 2015

Conversation

illicitonion
Copy link
Contributor

This allows refresh tokens to be exchanged for (access_token, refresh_token).

It also starts issuing them on login, though no clients currently interpret them.

sytest in https://github.com/matrix-org/sytest/blob/login/tests/10apidoc/02login.pl#L144

I prefer the auth handler to worry about all auth, and register to call
into it as needed, than to smatter auth logic between the two.
We're about to have two kinds of token, access and refresh
This allows refresh tokens to be exchanged for (access_token,
refresh_token).

It also starts issuing them on login, though no clients currently
interpret them.
Conflicts:
	synapse/rest/client/v1/login.py
Conflicts:
	synapse/handlers/register.py
@NegativeMjark
Copy link
Contributor

LGTM

illicitonion added a commit that referenced this pull request Aug 20, 2015
/tokenrefresh POST endpoint
@illicitonion illicitonion merged commit b1e35ea into develop Aug 20, 2015
@erikjohnston erikjohnston deleted the refresh branch November 19, 2015 17:15
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants