1
0
Fork 0
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:
Sebastian Neuser 2024-11-27 18:04:22 +01:00
parent a38b58c726
commit b5064069ca

View file

@ -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