def forbidden_defaults(self) -> List[ForbiddenDefault]: return [ *super().forbidden_defaults, ForbiddenDefault("appservice.database", "postgres://*****:*****@hostname/db"), ForbiddenDefault("bridge.permissions", ForbiddenKey("example.com")), ]
def forbidden_defaults(self) -> List[ForbiddenDefault]: return [ *super().forbidden_defaults, ForbiddenDefault("appservice.public.external", "https://example.com/public", condition="appservice.public.enabled"), ForbiddenDefault("bridge.permissions", ForbiddenKey("example.com")) ]
def forbidden_defaults(self) -> List[ForbiddenDefault]: return [ *super().forbidden_defaults, ForbiddenDefault("appservice.database", "postgres://*****:*****@hostname/db"), ForbiddenDefault("appservice.public.external", "https://example.com/public", condition="appservice.public.enabled"), ForbiddenDefault("bridge.permissions", ForbiddenKey("example.com")) ]
def forbidden_defaults(self) -> List[ForbiddenDefault]: return [ ForbiddenDefault("homeserver.address", "https://example.com"), ForbiddenDefault("homeserver.domain", "example.com"), ] + ([ ForbiddenDefault("appservice.as_token", "This value is generated when generating the registration", "Did you forget to generate the registration?"), ForbiddenDefault("appservice.hs_token", "This value is generated when generating the registration", "Did you forget to generate the registration?"), ] if self._check_tokens else [])
def forbidden_defaults(self) -> List[ForbiddenDefault]: return [ *super().forbidden_defaults, ForbiddenDefault("appservice.public.external", "https://example.com/public", condition="appservice.public.enabled"), ForbiddenDefault("bridge.permissions", ForbiddenKey("example.com")), ForbiddenDefault("telegram.api_id", 12345), ForbiddenDefault("telegram.api_hash", "tjyd5yge35lbodk1xwzw2jstp90k55qz"), ]