File tree Expand file tree Collapse file tree 1 file changed +5
-10
lines changed
proto/spaceone/api/identity/v2 Expand file tree Collapse file tree 1 file changed +5
-10
lines changed Original file line number Diff line number Diff line change @@ -117,11 +117,6 @@ enum UserRequiredAction {
117
117
ENFORCE_MFA = 1 ;
118
118
}
119
119
120
- enum MFAType {
121
- MFA_TYPE_NONE = 0 ;
122
- OTP = 1 ;
123
- EMAIL = 2 ;
124
- }
125
120
126
121
message MFA {
127
122
enum State {
@@ -131,7 +126,7 @@ message MFA {
131
126
}
132
127
133
128
State state = 1 ;
134
- MFAType mfa_type = 2 ;
129
+ string mfa_type = 2 ;
135
130
google.protobuf.Struct options = 3 ;
136
131
137
132
}
@@ -167,9 +162,9 @@ message CreateUserRequest {
167
162
// If reset_password is true, send email
168
163
bool reset_password = 9 ;
169
164
// +optional
170
- optional bool enforce_mfa = 10 ;
165
+ MFA mfa = 10 ;
171
166
// +optional
172
- MFAType enforce_mfa_type = 11 ;
167
+ repeated UserRequiredAction required_actions = 11 ;
173
168
}
174
169
175
170
//{
@@ -199,9 +194,9 @@ message UpdateUserRequest {
199
194
// +optional
200
195
bool reset_password = 8 ;
201
196
// +optional
202
- optional bool enforce_mfa = 9 ;
197
+ MFA mfa = 9 ;
203
198
// +optional
204
- MFAType enforce_mfa_type = 10 ;
199
+ repeated UserRequiredAction required_actions = 10 ;
205
200
}
206
201
207
202
//{
You can’t perform that action at this time.
0 commit comments