Skip to content

Commit 9ff5d76

Browse files
authored
feat: Add schema according to MFA enforce option (#594)
1 parent 3b1b4a0 commit 9ff5d76

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

proto/spaceone/api/identity/v2/user.proto

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ enum AuthType {
114114

115115
enum UserRequiredAction {
116116
UPDATE_PASSWORD = 0;
117+
ENFORCE_MFA = 1;
117118
}
118119

119120

@@ -160,6 +161,10 @@ message CreateUserRequest {
160161
google.protobuf.Struct tags = 8;
161162
// If reset_password is true, send email
162163
bool reset_password = 9;
164+
// +optional
165+
MFA mfa = 10;
166+
// +optional
167+
repeated UserRequiredAction required_actions = 11;
163168
}
164169

165170
//{
@@ -188,6 +193,10 @@ message UpdateUserRequest {
188193
google.protobuf.Struct tags = 7;
189194
// +optional
190195
bool reset_password = 8;
196+
// +optional
197+
MFA mfa = 9;
198+
// +optional
199+
repeated UserRequiredAction required_actions = 10;
191200
}
192201

193202
//{

0 commit comments

Comments
 (0)