Skip to content

Commit 5321822

Browse files
author
Flexify
committed
v2.12.17-SNAPSHOT build 1212
1 parent fea331c commit 5321822

File tree

2 files changed

+116
-58
lines changed

2 files changed

+116
-58
lines changed

docs/PublicAuthenticationConfiguration.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,11 @@
33
## Properties
44
Name | Type | Description | Notes
55
------------ | ------------- | ------------- | -------------
6-
**microsoft_client_id** | **str** | Required client Id in Microsoft access token | [optional]
7-
**microsoft_scope** | **str** | Required scope in Microsoft access token | [optional]
8-
**microsoft_tenant_id** | **str** | Optional tenant Id in Microsoft access token | [optional]
6+
**anonymous_signup_with_microsoft** | **bool** | Allow anonymous signup with microsoft | [optional]
7+
**anonymous_signup_with_password** | **bool** | Allow anonymous signup with password | [optional]
8+
**have_users** | **bool** | Specifies if at least one user is configured | [optional]
9+
**single_user_mode** | **bool** | In the single user mode only one user account is possible | [optional]
10+
**sso_config** | [**PublicAuthenticationConfiguration**](PublicAuthenticationConfiguration.md) | Configuration for SSO | [optional]
911

1012
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)
1113

flexify_api/models/public_authentication_configuration.py

Lines changed: 111 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -33,103 +33,159 @@ class PublicAuthenticationConfiguration(object):
3333
and the value is json key in definition.
3434
"""
3535
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'
3941
}
4042

4143
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'
4549
}
4650

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
4852
"""PublicAuthenticationConfiguration - a model defined in Swagger""" # noqa: E501
4953
if _configuration is None:
5054
_configuration = Configuration()
5155
self._configuration = _configuration
5256

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
5662
self.discriminator = None
5763

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
6474

6575
@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
6878
69-
Required client Id in Microsoft access token # noqa: E501
79+
Allow anonymous signup with microsoft # noqa: E501
7080
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
7383
"""
74-
return self._microsoft_client_id
84+
return self._anonymous_signup_with_microsoft
7585

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.
7989
80-
Required client Id in Microsoft access token # noqa: E501
90+
Allow anonymous signup with microsoft # noqa: E501
8191
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
8494
"""
8595

86-
self._microsoft_client_id = microsoft_client_id
96+
self._anonymous_signup_with_microsoft = anonymous_signup_with_microsoft
8797

8898
@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
91101
92-
Required scope in Microsoft access token # noqa: E501
102+
Allow anonymous signup with password # noqa: E501
93103
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
96106
"""
97-
return self._microsoft_scope
107+
return self._anonymous_signup_with_password
98108

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.
102112
103-
Required scope in Microsoft access token # noqa: E501
113+
Allow anonymous signup with password # noqa: E501
104114
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
107117
"""
108118

109-
self._microsoft_scope = microsoft_scope
119+
self._anonymous_signup_with_password = anonymous_signup_with_password
110120

111121
@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
114124
115-
Optional tenant Id in Microsoft access token # noqa: E501
125+
Specifies if at least one user is configured # noqa: E501
116126
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
119129
"""
120-
return self._microsoft_tenant_id
130+
return self._have_users
121131

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.
125135
126-
Optional tenant Id in Microsoft access token # noqa: E501
136+
Specifies if at least one user is configured # noqa: E501
127137
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
130140
"""
131141

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
133189

134190
def to_dict(self):
135191
"""Returns the model properties as a dict"""

0 commit comments

Comments
 (0)