@@ -33,103 +33,159 @@ class PublicAuthenticationConfiguration(object):
33
33
and the value is json key in definition.
34
34
"""
35
35
swagger_types = {
36
- 'microsoft_client_id' : 'str' ,
37
- 'microsoft_scope' : 'str' ,
38
- 'microsoft_tenant_id' : 'str'
36
+ 'anonymous_signup_with_microsoft' : 'bool' ,
37
+ 'anonymous_signup_with_password' : 'bool' ,
38
+ 'have_users' : 'bool' ,
39
+ 'single_user_mode' : 'bool' ,
40
+ 'sso_config' : 'PublicAuthenticationConfiguration'
39
41
}
40
42
41
43
attribute_map = {
42
- 'microsoft_client_id' : 'microsoftClientId' ,
43
- 'microsoft_scope' : 'microsoftScope' ,
44
- 'microsoft_tenant_id' : 'microsoftTenantId'
44
+ 'anonymous_signup_with_microsoft' : 'anonymousSignupWithMicrosoft' ,
45
+ 'anonymous_signup_with_password' : 'anonymousSignupWithPassword' ,
46
+ 'have_users' : 'haveUsers' ,
47
+ 'single_user_mode' : 'singleUserMode' ,
48
+ 'sso_config' : 'ssoConfig'
45
49
}
46
50
47
- def __init__ (self , microsoft_client_id = None , microsoft_scope = None , microsoft_tenant_id = None , _configuration = None ): # noqa: E501
51
+ def __init__ (self , anonymous_signup_with_microsoft = None , anonymous_signup_with_password = None , have_users = None , single_user_mode = None , sso_config = None , _configuration = None ): # noqa: E501
48
52
"""PublicAuthenticationConfiguration - a model defined in Swagger""" # noqa: E501
49
53
if _configuration is None :
50
54
_configuration = Configuration ()
51
55
self ._configuration = _configuration
52
56
53
- self ._microsoft_client_id = None
54
- self ._microsoft_scope = None
55
- self ._microsoft_tenant_id = None
57
+ self ._anonymous_signup_with_microsoft = None
58
+ self ._anonymous_signup_with_password = None
59
+ self ._have_users = None
60
+ self ._single_user_mode = None
61
+ self ._sso_config = None
56
62
self .discriminator = None
57
63
58
- if microsoft_client_id is not None :
59
- self .microsoft_client_id = microsoft_client_id
60
- if microsoft_scope is not None :
61
- self .microsoft_scope = microsoft_scope
62
- if microsoft_tenant_id is not None :
63
- self .microsoft_tenant_id = microsoft_tenant_id
64
+ if anonymous_signup_with_microsoft is not None :
65
+ self .anonymous_signup_with_microsoft = anonymous_signup_with_microsoft
66
+ if anonymous_signup_with_password is not None :
67
+ self .anonymous_signup_with_password = anonymous_signup_with_password
68
+ if have_users is not None :
69
+ self .have_users = have_users
70
+ if single_user_mode is not None :
71
+ self .single_user_mode = single_user_mode
72
+ if sso_config is not None :
73
+ self .sso_config = sso_config
64
74
65
75
@property
66
- def microsoft_client_id (self ):
67
- """Gets the microsoft_client_id of this PublicAuthenticationConfiguration. # noqa: E501
76
+ def anonymous_signup_with_microsoft (self ):
77
+ """Gets the anonymous_signup_with_microsoft of this PublicAuthenticationConfiguration. # noqa: E501
68
78
69
- Required client Id in Microsoft access token # noqa: E501
79
+ Allow anonymous signup with microsoft # noqa: E501
70
80
71
- :return: The microsoft_client_id of this PublicAuthenticationConfiguration. # noqa: E501
72
- :rtype: str
81
+ :return: The anonymous_signup_with_microsoft of this PublicAuthenticationConfiguration. # noqa: E501
82
+ :rtype: bool
73
83
"""
74
- return self ._microsoft_client_id
84
+ return self ._anonymous_signup_with_microsoft
75
85
76
- @microsoft_client_id .setter
77
- def microsoft_client_id (self , microsoft_client_id ):
78
- """Sets the microsoft_client_id of this PublicAuthenticationConfiguration.
86
+ @anonymous_signup_with_microsoft .setter
87
+ def anonymous_signup_with_microsoft (self , anonymous_signup_with_microsoft ):
88
+ """Sets the anonymous_signup_with_microsoft of this PublicAuthenticationConfiguration.
79
89
80
- Required client Id in Microsoft access token # noqa: E501
90
+ Allow anonymous signup with microsoft # noqa: E501
81
91
82
- :param microsoft_client_id : The microsoft_client_id of this PublicAuthenticationConfiguration. # noqa: E501
83
- :type: str
92
+ :param anonymous_signup_with_microsoft : The anonymous_signup_with_microsoft of this PublicAuthenticationConfiguration. # noqa: E501
93
+ :type: bool
84
94
"""
85
95
86
- self ._microsoft_client_id = microsoft_client_id
96
+ self ._anonymous_signup_with_microsoft = anonymous_signup_with_microsoft
87
97
88
98
@property
89
- def microsoft_scope (self ):
90
- """Gets the microsoft_scope of this PublicAuthenticationConfiguration. # noqa: E501
99
+ def anonymous_signup_with_password (self ):
100
+ """Gets the anonymous_signup_with_password of this PublicAuthenticationConfiguration. # noqa: E501
91
101
92
- Required scope in Microsoft access token # noqa: E501
102
+ Allow anonymous signup with password # noqa: E501
93
103
94
- :return: The microsoft_scope of this PublicAuthenticationConfiguration. # noqa: E501
95
- :rtype: str
104
+ :return: The anonymous_signup_with_password of this PublicAuthenticationConfiguration. # noqa: E501
105
+ :rtype: bool
96
106
"""
97
- return self ._microsoft_scope
107
+ return self ._anonymous_signup_with_password
98
108
99
- @microsoft_scope .setter
100
- def microsoft_scope (self , microsoft_scope ):
101
- """Sets the microsoft_scope of this PublicAuthenticationConfiguration.
109
+ @anonymous_signup_with_password .setter
110
+ def anonymous_signup_with_password (self , anonymous_signup_with_password ):
111
+ """Sets the anonymous_signup_with_password of this PublicAuthenticationConfiguration.
102
112
103
- Required scope in Microsoft access token # noqa: E501
113
+ Allow anonymous signup with password # noqa: E501
104
114
105
- :param microsoft_scope : The microsoft_scope of this PublicAuthenticationConfiguration. # noqa: E501
106
- :type: str
115
+ :param anonymous_signup_with_password : The anonymous_signup_with_password of this PublicAuthenticationConfiguration. # noqa: E501
116
+ :type: bool
107
117
"""
108
118
109
- self ._microsoft_scope = microsoft_scope
119
+ self ._anonymous_signup_with_password = anonymous_signup_with_password
110
120
111
121
@property
112
- def microsoft_tenant_id (self ):
113
- """Gets the microsoft_tenant_id of this PublicAuthenticationConfiguration. # noqa: E501
122
+ def have_users (self ):
123
+ """Gets the have_users of this PublicAuthenticationConfiguration. # noqa: E501
114
124
115
- Optional tenant Id in Microsoft access token # noqa: E501
125
+ Specifies if at least one user is configured # noqa: E501
116
126
117
- :return: The microsoft_tenant_id of this PublicAuthenticationConfiguration. # noqa: E501
118
- :rtype: str
127
+ :return: The have_users of this PublicAuthenticationConfiguration. # noqa: E501
128
+ :rtype: bool
119
129
"""
120
- return self ._microsoft_tenant_id
130
+ return self ._have_users
121
131
122
- @microsoft_tenant_id .setter
123
- def microsoft_tenant_id (self , microsoft_tenant_id ):
124
- """Sets the microsoft_tenant_id of this PublicAuthenticationConfiguration.
132
+ @have_users .setter
133
+ def have_users (self , have_users ):
134
+ """Sets the have_users of this PublicAuthenticationConfiguration.
125
135
126
- Optional tenant Id in Microsoft access token # noqa: E501
136
+ Specifies if at least one user is configured # noqa: E501
127
137
128
- :param microsoft_tenant_id : The microsoft_tenant_id of this PublicAuthenticationConfiguration. # noqa: E501
129
- :type: str
138
+ :param have_users : The have_users of this PublicAuthenticationConfiguration. # noqa: E501
139
+ :type: bool
130
140
"""
131
141
132
- self ._microsoft_tenant_id = microsoft_tenant_id
142
+ self ._have_users = have_users
143
+
144
+ @property
145
+ def single_user_mode (self ):
146
+ """Gets the single_user_mode of this PublicAuthenticationConfiguration. # noqa: E501
147
+
148
+ In the single user mode only one user account is possible # noqa: E501
149
+
150
+ :return: The single_user_mode of this PublicAuthenticationConfiguration. # noqa: E501
151
+ :rtype: bool
152
+ """
153
+ return self ._single_user_mode
154
+
155
+ @single_user_mode .setter
156
+ def single_user_mode (self , single_user_mode ):
157
+ """Sets the single_user_mode of this PublicAuthenticationConfiguration.
158
+
159
+ In the single user mode only one user account is possible # noqa: E501
160
+
161
+ :param single_user_mode: The single_user_mode of this PublicAuthenticationConfiguration. # noqa: E501
162
+ :type: bool
163
+ """
164
+
165
+ self ._single_user_mode = single_user_mode
166
+
167
+ @property
168
+ def sso_config (self ):
169
+ """Gets the sso_config of this PublicAuthenticationConfiguration. # noqa: E501
170
+
171
+ Configuration for SSO # noqa: E501
172
+
173
+ :return: The sso_config of this PublicAuthenticationConfiguration. # noqa: E501
174
+ :rtype: PublicAuthenticationConfiguration
175
+ """
176
+ return self ._sso_config
177
+
178
+ @sso_config .setter
179
+ def sso_config (self , sso_config ):
180
+ """Sets the sso_config of this PublicAuthenticationConfiguration.
181
+
182
+ Configuration for SSO # noqa: E501
183
+
184
+ :param sso_config: The sso_config of this PublicAuthenticationConfiguration. # noqa: E501
185
+ :type: PublicAuthenticationConfiguration
186
+ """
187
+
188
+ self ._sso_config = sso_config
133
189
134
190
def to_dict (self ):
135
191
"""Returns the model properties as a dict"""
0 commit comments