mirror of
https://github.com/element-hq/synapse.git
synced 2024-11-24 18:45:52 +03:00
deploy: 74ab329eaa
This commit is contained in:
parent
70f3c78d68
commit
2832a8b492
4 changed files with 8 additions and 4 deletions
|
@ -8853,13 +8853,15 @@ comment these options out and use those specified by the module instead.</p>
|
|||
<h3 id="building-a-custom-openid-mapping-provider"><a class="header" href="#building-a-custom-openid-mapping-provider">Building a Custom OpenID Mapping Provider</a></h3>
|
||||
<p>A custom mapping provider must specify the following methods:</p>
|
||||
<ul>
|
||||
<li><code>def __init__(self, parsed_config)</code>
|
||||
<li><code>def __init__(self, parsed_config, module_api)</code>
|
||||
<ul>
|
||||
<li>Arguments:
|
||||
<ul>
|
||||
<li><code>parsed_config</code> - A configuration object that is the return value of the
|
||||
<code>parse_config</code> method. You should set any configuration options needed by
|
||||
the module here.</li>
|
||||
<li><code>module_api</code> - a <code>synapse.module_api.ModuleApi</code> object which provides the
|
||||
stable API available for extension modules.</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -199,13 +199,15 @@ comment these options out and use those specified by the module instead.</p>
|
|||
<h3 id="building-a-custom-openid-mapping-provider"><a class="header" href="#building-a-custom-openid-mapping-provider">Building a Custom OpenID Mapping Provider</a></h3>
|
||||
<p>A custom mapping provider must specify the following methods:</p>
|
||||
<ul>
|
||||
<li><code>def __init__(self, parsed_config)</code>
|
||||
<li><code>def __init__(self, parsed_config, module_api)</code>
|
||||
<ul>
|
||||
<li>Arguments:
|
||||
<ul>
|
||||
<li><code>parsed_config</code> - A configuration object that is the return value of the
|
||||
<code>parse_config</code> method. You should set any configuration options needed by
|
||||
the module here.</li>
|
||||
<li><code>module_api</code> - a <code>synapse.module_api.ModuleApi</code> object which provides the
|
||||
stable API available for extension modules.</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
|
Loading…
Reference in a new issue