mirror of
https://github.com/element-hq/synapse.git
synced 2025-03-05 15:37:02 +00:00
impr: Clarify comment on (sometimes) optional SSO config values
This commit is contained in:
parent
a38b58c726
commit
b5064069ca
1 changed files with 2 additions and 1 deletions
|
@ -43,7 +43,8 @@ class SsoAttributeRequirement:
|
|||
"""Object describing a single requirement for SSO attributes."""
|
||||
|
||||
attribute: str
|
||||
# If a value is not given, than the attribute must simply exist.
|
||||
# If neither value nor one_of is given, the attribute must simply exist. This is
|
||||
# only true for CAS configs which use a different JSON schema than the one below.
|
||||
value: Optional[str] = None
|
||||
one_of: Optional[List[str]] = None
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue