Skip to content

Commit 59d2b56

Browse files
committed
Merge branch 'dev' into sedemche/duna_cba
2 parents 889db31 + 8ed4d9d commit 59d2b56

File tree

71 files changed

+3566
-437
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

71 files changed

+3566
-437
lines changed

CHANGELOG.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,22 @@
1-
TBD:
1+
## TBD
2+
* Support sendable result #2518
23
* Support DUNA protocol for CBA flow #2508
34

5+
## [1.7.0]
6+
* Add support for claims request in native authentication signIn (#2496)
7+
* Move native auth public methods to parameter class (#2492)
8+
9+
## [1.6.3]
10+
* Merge 1.6.1-hotfix
11+
412
## [1.6.2]:
513
* Add native auth instructions to error description when reset password required is returned (#2582)
614
* Save error received from ESTS, and return it to the client on silent broker calls (#2379)
715
* Support web_page_uri (#2384)
816

17+
## [1.6.1-hotfix]
18+
* Add support of "lookup" mode in broker #2414
19+
920
## [1.6.1]:
1021
* Support extra query parameters on logout endpoint (#2339)
1122
* Add support functions to help broker improve cross cloud experience (#2361)

CODEOWNERS

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@
22
# Unless a later match takes precedence, these users will be requested
33
# for review whenever someone opens a pull request.
44
* @AzureAD/AppleIdentityTeam
5-
# @AzureAD/AppleIdentityTeam and @AzureAD/MSAL-ObjC-CIAM will be the co-owners of MSAL.project, CHANGELOG.md and all files under azure_pipelines
5+
# @AzureAD/AppleIdentityTeam and @AzureAD/MSAL-ObjC-CIAM will be the co-owners of MSAL.project, CHANGELOG.md, Package.swift and all files under azure_pipelines
66
/MSAL/MSAL.xcodeproj/project.pbxproj @AzureAD/AppleIdentityTeam @AzureAD/MSAL-ObjC-CIAM
77
CHANGELOG.md @AzureAD/AppleIdentityTeam @AzureAD/MSAL-ObjC-CIAM
88
/azure_pipelines/ @AzureAD/AppleIdentityTeam @AzureAD/MSAL-ObjC-CIAM
9+
/Package.swift @AzureAD/AppleIdentityTeam @AzureAD/MSAL-ObjC-CIAM
910
# @AzureAD/MSAL-ObjC-CIAM owns any files in the */native_auth
1011
# directories, subdirectories and other files related to native auth.
1112
/MSAL/module.modulemap @AzureAD/MSAL-ObjC-CIAM
@@ -22,7 +23,6 @@ CHANGELOG.md @AzureAD/AppleIdentityTeam @AzureAD/MSAL-ObjC-CIAM
2223
/MSAL/MSAL.xcodeproj/xcshareddata/xcschemes/unit-test-host-mac.xcscheme @AzureAD/MSAL-ObjC-CIAM
2324
/MSAL/MSAL.xcodeproj/xcshareddata/xcschemes/MSAL\ iOS\ Native\ Auth\ E2E\ Tests.xcscheme @AzureAD/MSAL-ObjC-CIAM
2425
/MSAL/MSAL.xcodeproj/xcshareddata/xcschemes/MSAL\ Mac\ Native\ Auth\ E2E\ Tests.xcscheme @AzureAD/MSAL-ObjC-CIAM
25-
/Package.swift @AzureAD/MSAL-ObjC-CIAM
2626
/spm-integration-test.sh @AzureAD/MSAL-ObjC-CIAM
2727
# For more details about inheritance patterns, or to assign different
2828
# owners for individual file extensions, see:

MSAL.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = "MSAL"
3-
s.version = "1.6.2"
3+
s.version = "1.7.0"
44
s.summary = "Microsoft Authentication Library (MSAL) for iOS"
55
s.description = <<-DESC
66
The MSAL library for iOS gives your app the ability to begin using the Microsoft Cloud by supporting Microsoft Azure Active Directory and Microsoft Accounts in a converged experience using industry standard OAuth2 and OpenID Connect. The library also supports Microsoft Azure B2C for those using our hosted identity management service.

MSAL/MSAL.xcodeproj/project.pbxproj

Lines changed: 56 additions & 6 deletions
Large diffs are not rendered by default.

MSAL/resources/ios/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<key>CFBundlePackageType</key>
1616
<string>FMWK</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>1.6.2</string>
18+
<string>1.7.0</string>
1919
<key>CFBundleVersion</key>
2020
<string>$(CURRENT_PROJECT_VERSION)</string>
2121
<key>NSPrincipalClass</key>

MSAL/resources/mac/Info.plist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<key>CFBundlePackageType</key>
1616
<string>FMWK</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>1.6.2</string>
18+
<string>1.7.0</string>
1919
<key>CFBundleVersion</key>
2020
<string>$(CURRENT_PROJECT_VERSION)</string>
2121
<key>NSHumanReadableCopyright</key>

MSAL/src/MSALDeviceInformation.m

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,8 @@ - (MSALPlatformSSOStatus)msalPlatformSSOStatusFromMSIDPlatformSSOStatus:(MSIDPla
116116
return MSALPlatformSSOEnabledNotRegistered;
117117
case MSIDPlatformSSOEnabledAndRegistered:
118118
return MSALPlatformSSOEnabledAndRegistered;
119+
case MSIDPlatformSSORegistrationNeedsRepair:
120+
return MSALPlatformSSORegistrationNeedsRepair;
119121

120122
default:
121123
return MSALPlatformSSONotEnabled;

MSAL/src/MSALErrorConverter.m

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,13 @@ + (void)initialize
113113
@(MSIDErrorDeviceNotPSSORegistered) : @(MSALErrorDeviceNotPSSORegistered),
114114
@(MSIDErrorPSSOKeyIdMismatch) : @(MSALErrorPSSOKeyIdMismatch),
115115
@(MSIDErrorJITErrorHandlingConfigNotFound) : @(MSALErrorJITErrorHandlingConfigNotFound),
116+
@(MSIDErrorPSSOBiometricPolicyMismatch) : @(MSALErrorPSSOBiometricPolicyMismatch),
117+
@(MSIDErrorPSSOInvalidPasskeyExtension) : @(MSALErrorPSSOInvalidPasskeyExtension),
118+
@(MSIDErrorPSSOSaveLoginConfigFailure) :@(MSALErrorPSSOSaveLoginConfigFailure),
119+
@(MSIDErrorPSSOPasskeyLAError) :@(MSALErrorPSSOPasskeyLAError),
120+
@(MSIDErrorPSSOBiometricsNotAvailable): @(MSALErrorPSSOBiometricsNotAvailable),
121+
@(MSIDErrorPSSOBiometricsNotEnrolled): @(MSALErrorPSSOBiometricsNotEnrolled),
122+
116123

117124
// Oauth2 errors
118125
@(MSIDErrorServerOauth) : @(MSALInternalErrorAuthorizationFailed),
@@ -130,7 +137,8 @@ + (void)initialize
130137
@(MSIDErrorServerError) : @(MSALErrorServerError),
131138
@(MSIDErrorServerInvalidState) : @(MSALInternalErrorInvalidState),
132139
@(MSIDErrorServerProtectionPoliciesRequired) : @(MSALErrorServerProtectionPoliciesRequired),
133-
@(MSIDErrorServerUnhandledResponse) : @(MSALInternalErrorUnhandledResponse)
140+
@(MSIDErrorServerUnhandledResponse) : @(MSALInternalErrorUnhandledResponse),
141+
@(MSIDErrorUnexpectedHttpResponse) : @(MSALInternalErrorUnexpectedHttpResponse)
134142
}
135143
};
136144

MSAL/src/MSAL_Internal.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@
2626
//------------------------------------------------------------------------------
2727

2828
#define MSAL_VER_HIGH 1
29-
#define MSAL_VER_LOW 6
30-
#define MSAL_VER_PATCH 2
29+
#define MSAL_VER_LOW 7
30+
#define MSAL_VER_PATCH 0
3131

3232
#define STR_HELPER(x) #x
3333
#define STR(x) STR_HELPER(x)

MSAL/src/native_auth/controllers/MSALNativeAuthTokenController.swift

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ class MSALNativeAuthTokenController: MSALNativeAuthBaseController {
8181
oobCode: String? = nil,
8282
grantType: MSALNativeAuthGrantType,
8383
includeChallengeType: Bool = true,
84+
claimsRequestJson: String? = nil,
8485
context: MSALNativeAuthRequestContext) -> MSIDHttpRequest? {
8586
do {
8687
let params = MSALNativeAuthTokenRequestParameters(
@@ -92,7 +93,8 @@ class MSALNativeAuthTokenController: MSALNativeAuthBaseController {
9293
password: password,
9394
oobCode: oobCode,
9495
includeChallengeType: includeChallengeType,
95-
refreshToken: nil)
96+
refreshToken: nil,
97+
claimsRequestJson: claimsRequestJson)
9698
return try requestProvider.signInWithPassword(parameters: params, context: context)
9799
} catch {
98100
MSALLogger.log(level: .error, context: context, format: "Error creating SignIn Token Request: \(error)")
@@ -118,7 +120,8 @@ class MSALNativeAuthTokenController: MSALNativeAuthBaseController {
118120
password: nil,
119121
oobCode: nil,
120122
includeChallengeType: false,
121-
refreshToken: refreshToken)
123+
refreshToken: refreshToken,
124+
claimsRequestJson: nil)
122125
return try requestProvider.refreshToken(parameters: params, context: context)
123126
} catch {
124127
MSALLogger.log(level: .error, context: context, format: "Error creating Refresh Token Request: \(error)")

0 commit comments

Comments
 (0)