mirror of
https://git.anonymousland.org/anonymousland/synapse.git
synced 2025-05-02 09:06:06 -04:00
Factor _AccountHandler proxy out to ModuleApi
We're going to need to use this from places that aren't password auth, so let's move it to a proper class.
This commit is contained in:
parent
b19d9e2174
commit
1189be43a2
3 changed files with 83 additions and 70 deletions
|
@ -27,7 +27,7 @@ Password auth provider classes must provide the following methods:
|
|||
*class* ``SomeProvider``\(*config*, *account_handler*)
|
||||
|
||||
The constructor is passed the config object returned by ``parse_config``,
|
||||
and a ``synapse.handlers.auth._AccountHandler`` object which allows the
|
||||
and a ``synapse.module_api.ModuleApi`` object which allows the
|
||||
password provider to check if accounts exist and/or create new ones.
|
||||
|
||||
Optional methods
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue