-
-
Notifications
You must be signed in to change notification settings - Fork 145
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
client-api: Add registration token validity checking endpoint #757
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Looks good overall, only some minor things need to be adjusted.
crates/ruma-client-api/src/r0/account/registration_token_validity.rs
Outdated
Show resolved
Hide resolved
@govynnus Can you rerun |
Head branch was pushed to by a user without write access
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
No problem, sorry it took so long :) |
Proposed in MSC3231
https://github.com/matrix-org/matrix-doc/blob/main/proposals/3231-token-authenticated-registration.md#checking-the-validity-of-a-token
Closes #708
I only put the
unstable-pre-spec
attributes inaccount.rs
, which I'm not sure is correct.Also I couldn't find anywhere endpoints are tested (but didn't look very hard).