Skip to content

Commit 937c23a

Browse files
committed
Support switch browser operation.
1 parent 3a51d87 commit 937c23a

File tree

3 files changed

+8
-11
lines changed

3 files changed

+8
-11
lines changed

MSAL/IdentityCore

Submodule IdentityCore updated 27 files

MSAL/MSAL.xcodeproj/project.pbxproj

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5775,8 +5775,6 @@
57755775
};
57765776
D61A64321E5A29580086D120 = {
57775777
CreatedOnToolsVersion = 8.2.1;
5778-
DevelopmentTeam = UBF8T346G9;
5779-
ProvisioningStyle = Manual;
57805778
SystemCapabilities = {
57815779
com.apple.Keychain = {
57825780
enabled = 1;
@@ -8733,9 +8731,8 @@
87338731
ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = "";
87348732
CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES = NO;
87358733
CODE_SIGN_ENTITLEMENTS = "MSAL Test App.entitlements";
8736-
CODE_SIGN_IDENTITY = "iPhone Developer";
8737-
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
8738-
CODE_SIGN_STYLE = Manual;
8734+
CODE_SIGN_IDENTITY = "Apple Development";
8735+
CODE_SIGN_STYLE = Automatic;
87398736
DEVELOPMENT_TEAM = UBF8T346G9;
87408737
ENABLE_BITCODE = NO;
87418738
GCC_OPTIMIZATION_LEVEL = 0;
@@ -8747,7 +8744,7 @@
87478744
);
87488745
PRODUCT_BUNDLE_IDENTIFIER = com.microsoft.MSALTestApp;
87498746
PROVISIONING_PROFILE = "";
8750-
PROVISIONING_PROFILE_SPECIFIER = "iOS Team Provisioning Profile";
8747+
PROVISIONING_PROFILE_SPECIFIER = "";
87518748
USER_HEADER_SEARCH_PATHS = (
87528749
"$(inherited)",
87538750
"$IDCORE_PATH/src/**",

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
}

0 commit comments

Comments
 (0)