dendrite/src/github.com/matrix-org/dendrite/clientapi/routing
Andrew Morgan 08274bab5a Application Service Registration (#390)
* Add ability for App Services to register users

AS Tokens are pulled from their respective configs, which are then
checked against when an AS tries to register using
m.login.application_service. If the token exists and the new username is
within their specified namespace, then the user is created as a
password-less user.

Signed-off-by: Andrew Morgan (https://amorgan.xyz) <andrew@amorgan.xyz>

* Validate loaded Application Services

* Ensure no two app services have the same token or ID
* Check namespaces are valid regex
* Ensure users can't register inside an exclusive app service namespace
* Ensure exclusive app service namespaces are exclusive with each other
* Precompile application service namespace regexes so we don't need to
do so every time a user is registered

Signed-off-by: Andrew Morgan (https://amorgan.xyz) <andrew@amorgan.xyz>
2018-02-08 11:02:48 +00:00
..
account_data.go Merge readers/writers/routing packages (#295) 2017-10-11 18:16:53 +01:00
createroom.go Implement some createRoom parameters (#374) 2018-01-02 10:32:53 +00:00
device.go Update gometalinter config (#331) 2017-11-15 10:25:48 +00:00
directory.go Merge readers/writers/routing packages (#295) 2017-10-11 18:16:53 +01:00
filter.go Check for existing filter before inserting a new one (#318) 2017-11-14 09:56:23 +00:00
joinroom.go Pass client transaction IDs along the kafka streams (#362) 2017-12-04 18:07:52 +00:00
login.go Add device display names (#319) 2017-11-14 09:59:02 +00:00
logout.go Implement /logout/all (#307) 2017-10-15 11:29:47 +01:00
membership.go Pass client transaction IDs along the kafka streams (#362) 2017-12-04 18:07:52 +00:00
memberships.go Update gometalinter config (#331) 2017-11-15 10:25:48 +00:00
profile.go Pass client transaction IDs along the kafka streams (#362) 2017-12-04 18:07:52 +00:00
register.go Application Service Registration (#390) 2018-02-08 11:02:48 +00:00
register_test.go Fix some linting errors 2017-12-06 13:55:51 +00:00
routing.go Add OPTIONS handlers everywhere (#355) 2017-11-27 12:18:48 +00:00
sendevent.go Pass client transaction IDs along the kafka streams (#362) 2017-12-04 18:07:52 +00:00
threepid.go Merge readers/writers/routing packages (#295) 2017-10-11 18:16:53 +01:00
voip.go use voip turnServers struct from gomatrix for dedup and consistency (#344) 2017-11-17 10:27:28 +00:00