Commit 7c4974f
Add flatUsername attribute to UserAttributes builder Fixes AB#3607103 (#2513)
## Summary
Adds a new `flatusername` built-in attribute to the
`UserAttributes.Builder` class, following the existing pattern for other
attributes (city, country, surname, etc.).
## Changes
- **UserAttributes.kt**: Added `FLAT_USERNAME` constant and
`flatUsername()` builder method with KDoc.
- **SignUpEmailPasswordAttributesTest.kt**: Updated to exercise the new
`flatUsername` attribute alongside existing attributes.
[AB#3607103](https://identitydivision.visualstudio.com/Engineering/_workitems/edit/3607103)
---------
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent eb7bd59 commit 7c4974f
4 files changed
Lines changed: 33 additions & 1 deletion
File tree
- msal/src
- main/java/com/microsoft/identity/nativeauth
- test/java/com/microsoft/identity
- client/e2e/tests/network/nativeauth
- nativeauth
Lines changed: 10 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| 43 | + | |
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
| |||
125 | 126 | | |
126 | 127 | | |
127 | 128 | | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
128 | 138 | | |
129 | 139 | | |
130 | 140 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
71 | | - | |
| 71 | + | |
72 | 72 | | |
73 | 73 | | |
74 | 74 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3192 | 3192 | | |
3193 | 3193 | | |
3194 | 3194 | | |
| 3195 | + | |
| 3196 | + | |
3195 | 3197 | | |
3196 | 3198 | | |
3197 | 3199 | | |
| |||
Lines changed: 20 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3042 | 3042 | | |
3043 | 3043 | | |
3044 | 3044 | | |
| 3045 | + | |
| 3046 | + | |
| 3047 | + | |
| 3048 | + | |
| 3049 | + | |
| 3050 | + | |
| 3051 | + | |
| 3052 | + | |
| 3053 | + | |
| 3054 | + | |
| 3055 | + | |
| 3056 | + | |
| 3057 | + | |
| 3058 | + | |
| 3059 | + | |
| 3060 | + | |
| 3061 | + | |
| 3062 | + | |
| 3063 | + | |
| 3064 | + | |
3045 | 3065 | | |
0 commit comments