Skip to content

Commit 90e6ddf

Browse files
committed
Merge branch 'MSAL-2x-breaking-changes' into spetrescu/merge-dev-breaking-changes
2 parents 1154cb4 + c4be100 commit 90e6ddf

File tree

82 files changed

+1461
-2324
lines changed

Some content is hidden

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

82 files changed

+1461
-2324
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
## [TBD]
2+
* Removed deprecated APIs, including legacy initializers, account management methods, token acquisition methods, and the MSALTelemetry interface (#2577)
3+
* Enforced requirement for a valid ParentViewController (with a window) in interactive token requests (#2590)
4+
* Removed deprecated methods from native auth public interface (#2588)
5+
* Removed the deprecated MSALLogger interface and implementation class (#2591)
6+
* Enforced a valid broker-capable redirect URI format for AAD scenarios (#2592)
7+
18
## [1.9.0]
29
* Add feature flags provider to be controlled from broker (#2540)
310
* Added GitHub issue templates for better issue tracking and reporting (#2554)

MSAL/IdentityCore

Submodule IdentityCore updated 44 files

MSAL/MSAL.xcodeproj/project.pbxproj

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

MSAL/MSAL.xcodeproj/xcshareddata/xcschemes/MSAL Test App (Mac).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"
@@ -62,8 +60,6 @@
6260
ReferencedContainer = "container:MSAL.xcodeproj">
6361
</BuildableReference>
6462
</BuildableProductRunnable>
65-
<AdditionalOptions>
66-
</AdditionalOptions>
6763
</LaunchAction>
6864
<ProfileAction
6965
buildConfiguration = "Release"

MSAL/src/MSALErrorConverter.m

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ + (void)initialize
5858
@(MSIDErrorServerNonHttpsRedirect) : @(MSALInternalErrorNonHttpsRedirect),
5959
@(MSIDErrorMismatchedAccount): @(MSALInternalErrorMismatchedUser),
6060
@(MSIDErrorRedirectSchemeNotRegistered): @(MSALInternalErrorRedirectSchemeNotRegistered),
61+
@(MSIDErrorInvalidRedirectURI): @(MSALInternalErrorInvalidRedirectURI),
6162

6263
// Cache
6364
@(MSIDErrorCacheMultipleUsers) : @(MSALInternalErrorAmbiguousAccount),

MSAL/src/MSALInteractiveTokenParameters.m

Lines changed: 0 additions & 50 deletions
Original file line numberDiff line numberDiff line change
@@ -47,54 +47,4 @@ - (instancetype)initWithScopes:(NSArray<NSString *> *)scopes
4747
return self;
4848
}
4949

50-
- (instancetype)initWithScopes:(NSArray<NSString *> *)scopes
51-
{
52-
return [self initWithScopes:scopes
53-
webviewParameters:[MSALWebviewParameters new]];
54-
}
55-
56-
#if TARGET_OS_IPHONE
57-
58-
- (void)setParentViewController:(UIViewController *)parentViewController
59-
{
60-
self.webviewParameters.parentViewController = parentViewController;
61-
}
62-
63-
- (UIViewController *)parentViewController
64-
{
65-
return self.webviewParameters.parentViewController;
66-
}
67-
68-
- (void)setPresentationStyle:(UIModalPresentationStyle)presentationStyle
69-
{
70-
self.webviewParameters.presentationStyle = presentationStyle;
71-
}
72-
73-
- (UIModalPresentationStyle)presentationStyle
74-
{
75-
return self.webviewParameters.presentationStyle;
76-
}
77-
78-
#endif
79-
80-
- (void)setWebviewType:(MSALWebviewType)webviewType
81-
{
82-
self.webviewParameters.webviewType = webviewType;
83-
}
84-
85-
- (MSALWebviewType)webviewType
86-
{
87-
return self.webviewParameters.webviewType;
88-
}
89-
90-
- (void)setCustomWebview:(WKWebView *)customWebview
91-
{
92-
self.webviewParameters.customWebview = customWebview;
93-
}
94-
95-
- (WKWebView *)customWebview
96-
{
97-
return self.webviewParameters.customWebview;
98-
}
99-
10050
@end

MSAL/src/MSALLogger.m

Lines changed: 0 additions & 75 deletions
This file was deleted.

0 commit comments

Comments
 (0)