Skip to content

Commit dc392de

Browse files
authored
Merge branch 'dev' into jarias/custom-copilot-instructions
2 parents 608dde0 + 2dffc24 commit dc392de

File tree

10 files changed

+663
-652
lines changed

10 files changed

+663
-652
lines changed

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,22 @@
1+
## [2.7.0]
2+
* Use autolayout for loading indicator #2787
3+
14
## [2.6.0]
25
* Support domain_hint param #2759
36

7+
## [2.5.2]
8+
* Update changes from version 2.4.3
9+
410
## [2.5.1]
511
* Allow duna external idp on MacOs
612

713
## [2.5.0]
814
* Awaiting MFA Delegate now automatically returns the AuthMethods to be used when calling MFA Challenge #2687
915
* SDK now handles SMS as strong authentication method #2722
1016

17+
## [2.4.3]
18+
* Fix issue with legacy keychain on macOS.
19+
1120
## [2.4.2]
1221
* Bug fix to prevent crash when deallocating STK SecKeyRef
1322

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 = "2.6.0"
3+
s.version = "2.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/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>2.6.0</string>
18+
<string>2.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>2.6.0</string>
18+
<string>2.7.0</string>
1919
<key>CFBundleVersion</key>
2020
<string>$(CURRENT_PROJECT_VERSION)</string>
2121
<key>NSHumanReadableCopyright</key>

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 2
29-
#define MSAL_VER_LOW 6
29+
#define MSAL_VER_LOW 7
3030
#define MSAL_VER_PATCH 0
3131

3232
#define STR_HELPER(x) #x

MSAL/test/app/mac/Base.lproj/Main.storyboard

Lines changed: 633 additions & 635 deletions
Large diffs are not rendered by default.

MSAL/test/app/mac/MSALAcquireTokenViewController.m

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ @interface MSALAcquireTokenViewController ()
5656
@property (atomic, weak) IBOutlet NSTextField *extraQueryParamsTextField;
5757
@property (atomic, weak) IBOutlet NSSegmentedControl *webViewSegment;
5858
@property (atomic, weak) IBOutlet NSSegmentedControl *validateAuthoritySegment;
59-
@property (atomic, weak) IBOutlet NSStackView *acquireTokenView;
59+
@property (atomic, weak) IBOutlet NSView *acquireTokenView;
6060
@property (atomic, weak) IBOutlet NSPopUpButton *userPopup;
6161
@property (atomic, weak) IBOutlet NSSegmentedControl *authSchemeSegment;
6262

@@ -76,18 +76,22 @@ - (void)viewDidLoad
7676
{
7777
[super viewDidLoad];
7878

79-
CGFloat wkWebViewWidth = self.acquireTokenView.frame.size.width*0.5;
80-
CGFloat wkWebViewHeight = self.acquireTokenView.frame.size.height*0.75;
81-
CGFloat wkWebViewOffsetX = 0;
82-
CGFloat wkWebViewOffsetY = self.acquireTokenView.frame.size.height*0.15;
8379
WKWebViewConfiguration *defaultWKWebConfig = [MSALWebviewParameters defaultWKWebviewConfiguration];
84-
85-
self.webView = [[WKWebView alloc] initWithFrame:CGRectMake(wkWebViewOffsetX,wkWebViewOffsetY,wkWebViewWidth,wkWebViewHeight)
80+
self.webView = [[WKWebView alloc] initWithFrame:CGRectZero
8681
configuration:defaultWKWebConfig];
8782

8883
[self.webView setHidden:YES];
8984
[self.acquireTokenView addSubview:self.webView];
9085

86+
self.webView.translatesAutoresizingMaskIntoConstraints = NO;
87+
[NSLayoutConstraint activateConstraints:@[
88+
[self.webView.leadingAnchor constraintEqualToAnchor:self.acquireTokenView.leadingAnchor constant:0],
89+
[self.webView.trailingAnchor constraintEqualToAnchor:self.acquireTokenView.trailingAnchor constant:0],
90+
[self.webView.topAnchor constraintEqualToAnchor:self.acquireTokenView.topAnchor constant:0],
91+
[self.webView.bottomAnchor constraintEqualToAnchor:self.acquireTokenView.bottomAnchor constant:0],
92+
]];
93+
94+
9195
self.settings = [MSALTestAppSettings settings];
9296
[self populateProfiles];
9397
[self populateUsers];

Package.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
1-
// swift-tools-version:5.3
1+
// swift-tools-version:5.7
22

33
import PackageDescription
44

55
let package = Package(
66
name: "MSAL",
77
platforms: [
8-
.macOS(.v10_15),.iOS(.v14)
8+
.macOS(.v11),.iOS(.v16)
99
],
1010
products: [
1111
.library(
1212
name: "MSAL",
1313
targets: ["MSAL"]),
1414
],
1515
targets: [
16-
.binaryTarget(name: "MSAL", url: "https://github.com/AzureAD/microsoft-authentication-library-for-objc/releases/download/2.6.0/MSAL.zip", checksum: "546a5d74bc255ca4881a4f8cc4ea69d63f8c773227224a870675760b6af15674")
16+
.binaryTarget(name: "MSAL", url: "https://github.com/AzureAD/microsoft-authentication-library-for-objc/releases/download/2.7.0/MSAL.zip", checksum: "1a07785e311359ed7a9a8d58ec5e65c46cb73fc762e95c6cb13fbfda48012920")
1717
]
1818
)

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -180,9 +180,9 @@ For more information on common usage patterns, error handling and debugging, log
180180
181181
## Supported Versions
182182
183-
**iOS** - MSAL supports iOS 14 and above.
183+
**iOS** - MSAL supports iOS 16 and above.
184184
185-
**macOS** - MSAL supports macOS (OSX) 10.15 and above.
185+
**macOS** - MSAL supports macOS 11 and above.
186186
187187
## Community help and support
188188

0 commit comments

Comments
 (0)