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

Commit

Permalink
Fix a buglet in the SAML username mapping provider doc (#8873)
Browse files Browse the repository at this point in the history
the constructor is called with a `module_api`.
  • Loading branch information
richvdh authored Dec 4, 2020
1 parent cf3b815 commit 6e4f71c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions changelog.d/8873.doc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix an error in the documentation for the SAML username mapping provider.
4 changes: 3 additions & 1 deletion docs/sso_mapping_providers.md
Original file line number Diff line number Diff line change
Expand Up @@ -116,11 +116,13 @@ comment these options out and use those specified by the module instead.

A custom mapping provider must specify the following methods:

* `__init__(self, parsed_config)`
* `__init__(self, parsed_config, module_api)`
- Arguments:
- `parsed_config` - A configuration object that is the return value of the
`parse_config` method. You should set any configuration options needed by
the module here.
- `module_api` - a `synapse.module_api.ModuleApi` object which provides the
stable API available for extension modules.
* `parse_config(config)`
- This method should have the `@staticmethod` decoration.
- Arguments:
Expand Down

0 comments on commit 6e4f71c

Please sign in to comment.