File tree Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Expand file tree Collapse file tree 1 file changed +8
-0
lines changed Original file line number Diff line number Diff line change @@ -30,7 +30,15 @@ Future<GetServerSettingsResult> getServerSettings({
30
30
31
31
@JsonSerializable (fieldRename: FieldRename .snake)
32
32
class GetServerSettingsResult {
33
+ // This is marked as deprecated, but we still need it to answer some
34
+ // questions:
35
+ // - Do we offer dev login? (Yes if it has `dev: true`.)
36
+ // - Do we offer password login? (Yes if it has `password: true` or `ldap: true`.)
37
+ // - Do we offer a "Log in with SSO" button? (Yes if it has `remoteuser: true`.)
38
+ //
39
+ // Discussion: https://chat.zulip.org/#narrow/stream/378-api-design/topic/.60authentication_methods.60.20in.20server.20settings/near/1722986
33
40
final Map <String , bool > authenticationMethods;
41
+
34
42
final List <ExternalAuthenticationMethod > externalAuthenticationMethods;
35
43
36
44
final int zulipFeatureLevel;
You can’t perform that action at this time.
0 commit comments