Commit 50deebc
authored
Native auth: add new SDK error when auth method is blocked, Fixes AB#3313635 (#2384)
This PR adds a new SDK error with instructions when the auth method is
blocked during MFA flow.
MSAL Common PR:
AzureAD/microsoft-authentication-library-common-for-android#2772
Fixes
[AB#3313635](https://identitydivision.visualstudio.com/Engineering/_workitems/edit/3313635)1 parent 4a1b012 commit 50deebc
File tree
4 files changed
+28
-3
lines changed- msal/src/main/java/com/microsoft/identity/nativeauth/statemachine
- errors
- states
4 files changed
+28
-3
lines changed- common/src/main/java/com/microsoft/identity/common/nativeauth/internal/controllers/NativeAuthMsalController.kt+26-4
- common/src/test/java/com/microsoft/identity/common/nativeauth/internal/controllers/NativeAuthControllerTest.kt+35-4
- common4j/src/main/com/microsoft/identity/common/java/nativeauth/controllers/results/MFACommandResult.kt+11
- common4j/src/main/com/microsoft/identity/common/java/nativeauth/providers/responses/signin/SignInChallengeApiResponse.kt+20-7
- common4j/src/main/com/microsoft/identity/common/java/nativeauth/providers/responses/signin/SignInChallengeApiResult.kt+17
- common4j/src/testFixtures/java/com/microsoft/identity/common/nativeauth/MockApiResponseType.kt+2-1
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
89 | 95 | | |
90 | 96 | | |
91 | 97 | | |
| |||
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
27 | 30 | | |
28 | 31 | | |
29 | 32 | | |
| |||
Lines changed: 18 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
97 | | - | |
| 97 | + | |
98 | 98 | | |
99 | 99 | | |
100 | 100 | | |
| |||
165 | 165 | | |
166 | 166 | | |
167 | 167 | | |
| 168 | + | |
| 169 | + | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
168 | 176 | | |
169 | 177 | | |
170 | 178 | | |
| |||
245 | 253 | | |
246 | 254 | | |
247 | 255 | | |
248 | | - | |
| 256 | + | |
249 | 257 | | |
250 | 258 | | |
251 | 259 | | |
| |||
318 | 326 | | |
319 | 327 | | |
320 | 328 | | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
| 336 | + | |
321 | 337 | | |
322 | 338 | | |
323 | 339 | | |
| |||
0 commit comments