Skip to content

Commit 4b51588

Browse files
Merge pull request #2533 from AzureAD/release/1.8.0
Release/1.8.0
2 parents 8f966b3 + c07f263 commit 4b51588

22 files changed

+944
-140
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
## [1.8.0]
2+
* Support sendable result (#2518)
3+
* Support DUNA protocol for CBA flow (#2508)
4+
15
## [1.7.0]
26
* Add support for claims request in native authentication signIn (#2496)
37
* Move native auth public methods to parameter class (#2492)

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.7.0"
3+
s.version = "1.8.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/IdentityCore

Submodule IdentityCore updated 79 files

MSAL/MSAL.xcodeproj/project.pbxproj

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5811,8 +5811,6 @@
58115811
};
58125812
D61A64321E5A29580086D120 = {
58135813
CreatedOnToolsVersion = 8.2.1;
5814-
DevelopmentTeam = UBF8T346G9;
5815-
ProvisioningStyle = Manual;
58165814
SystemCapabilities = {
58175815
com.apple.Keychain = {
58185816
enabled = 1;
@@ -8783,9 +8781,8 @@
87838781
ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = "";
87848782
CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = NO;
87858783
CODE_SIGN_ENTITLEMENTS = "MSAL Test App.entitlements";
8786-
CODE_SIGN_IDENTITY = "iPhone Developer";
8787-
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
8788-
CODE_SIGN_STYLE = Manual;
8784+
CODE_SIGN_IDENTITY = "Apple Development";
8785+
CODE_SIGN_STYLE = Automatic;
87898786
DEVELOPMENT_TEAM = UBF8T346G9;
87908787
ENABLE_BITCODE = NO;
87918788
GCC_OPTIMIZATION_LEVEL = 0;
@@ -8797,7 +8794,7 @@
87978794
);
87988795
PRODUCT_BUNDLE_IDENTIFIER = com.microsoft.MSALTestApp;
87998796
PROVISIONING_PROFILE = "";
8800-
PROVISIONING_PROFILE_SPECIFIER = "iOS Team Provisioning Profile";
8797+
PROVISIONING_PROFILE_SPECIFIER = "";
88018798
USER_HEADER_SEARCH_PATHS = (
88028799
"$(inherited)",
88038800
"$IDCORE_PATH/src/**",

MSAL/MSAL.xcodeproj/xcshareddata/xcschemes/MSAL Test App (iOS).xcscheme

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@
2727
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
2828
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
2929
shouldUseLaunchSchemeArgsEnv = "YES">
30-
<Testables>
31-
</Testables>
3230
<MacroExpansion>
3331
<BuildableReference
3432
BuildableIdentifier = "primary"
@@ -38,8 +36,8 @@
3836
ReferencedContainer = "container:MSAL.xcodeproj">
3937
</BuildableReference>
4038
</MacroExpansion>
41-
<AdditionalOptions>
42-
</AdditionalOptions>
39+
<Testables>
40+
</Testables>
4341
</TestAction>
4442
<LaunchAction
4543
buildConfiguration = "Debug"
@@ -61,8 +59,6 @@
6159
ReferencedContainer = "container:MSAL.xcodeproj">
6260
</BuildableReference>
6361
</BuildableProductRunnable>
64-
<AdditionalOptions>
65-
</AdditionalOptions>
6662
</LaunchAction>
6763
<ProfileAction
6864
buildConfiguration = "Release"

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.7.0</string>
18+
<string>1.8.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.7.0</string>
18+
<string>1.8.0</string>
1919
<key>CFBundleVersion</key>
2020
<string>$(CURRENT_PROJECT_VERSION)</string>
2121
<key>NSHumanReadableCopyright</key>

MSAL/src/MSALPublicClientApplication.m

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,6 @@
8989
#import "MSALWebviewParameters.h"
9090
#import "MSIDAccountIdentifier.h"
9191
#if TARGET_OS_IPHONE
92-
#import "MSIDCertAuthHandler+iOS.h"
9392
#import "MSIDBrokerInteractiveController.h"
9493
#import <UIKit/UIKit.h>
9594
#else
@@ -113,6 +112,7 @@
113112
#import "MSALWipeCacheForAllAccountsConfig.h"
114113
#import "NSString+MSIDTelemetryExtensions.h"
115114
#import "MSIDVersion.h"
115+
#import "MSIDCertAuthManager.h"
116116

117117
@interface MSALPublicClientApplication()
118118
{
@@ -142,7 +142,7 @@ + (void)load
142142
MSIDNotifications.webAuthWillSwitchToBrokerAppNotificationName = MSALWebAuthWillSwitchToBrokerApp;
143143
MSIDNotifications.webAuthDidReceiveResponseFromBrokerNotificationName = MSALWebAuthDidReceiveResponseFromBroker;
144144
#if TARGET_OS_IPHONE && !AD_BROKER && !MSID_EXCLUDE_SYSTEMWV
145-
[MSIDCertAuthHandler setUseAuthSession:YES];
145+
MSIDCertAuthManager.sharedInstance.useAuthSession = YES;
146146
#endif
147147
}
148148

@@ -626,8 +626,8 @@ + (BOOL)handleMSALResponse:(NSURL *)response
626626
{
627627
return YES;
628628
}
629-
630-
if ([MSIDCertAuthHandler completeCertAuthChallenge:response])
629+
630+
if ([MSIDCertAuthManager.sharedInstance completeWithCallbackURL:response])
631631
{
632632
return YES;
633633
}

MSAL/src/MSAL_Internal.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
//------------------------------------------------------------------------------
2727

2828
#define MSAL_VER_HIGH 1
29-
#define MSAL_VER_LOW 7
29+
#define MSAL_VER_LOW 8
3030
#define MSAL_VER_PATCH 0
3131

3232
#define STR_HELPER(x) #x

MSAL/src/public/MSALResult.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
MSALResult represents information returned to the application after a successful interactive or silent token acquisition.
3636
It contains information requested by the application (e.g. access_token and id_token), and information that can be used to get a token silently from MSAL (e.g. account).
3737
*/
38+
NS_SWIFT_SENDABLE
3839
@interface MSALResult : NSObject
3940

4041
#pragma mark - Token response

0 commit comments

Comments
 (0)