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

Add a route for determining who you are #2668

Merged
merged 2 commits into from
Nov 14, 2017

Conversation

turt2live
Copy link
Member

Specification

This is a new endpoint and is not formally in the spec.

Spec PR: matrix-org/matrix-spec-proposals#1063

Description

Clients may wish to identify which user they are representing with only an access token. Use cases include a service which sits between the actual client and the homeserver, providing some kind of functionality on behalf of the homeserver.

Useful for applications which may have an access token, but no idea as to who owns it.

Signed-off-by: Travis Ralston <[email protected]>
@matrixbot
Copy link
Member

Can one of the admins verify this patch?

1 similar comment
@matrixbot
Copy link
Member

Can one of the admins verify this patch?

@richvdh
Copy link
Member

richvdh commented Nov 13, 2017

matrixbot: test this please


@defer.inlineCallbacks
def on_GET(self, request):
yield run_on_reactor()
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is redundant, I think.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It was. Updated!

Signed-off-by: Travis Ralston <[email protected]>
@richvdh
Copy link
Member

richvdh commented Nov 14, 2017

Thanks!

@richvdh richvdh merged commit 7bd6c87 into matrix-org:develop Nov 14, 2017
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.

3 participants