Skip to content

Commit bbd4622

Browse files
authored
Merge pull request #1199 from AzureAD/release/1.1.14
1.1.14 release
2 parents 4f3ddc7 + 0f0c1d9 commit bbd4622

29 files changed

+595
-67
lines changed

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
## [1.1.14] - 2020-01-19
2+
* Removed identity core classes from public api (#1158).
3+
* Fixed possible deadlock caused by thread explosion (#1175)
4+
* Added pipeline configuration to generate framework for SPM & automate MSAL release (#1194)
5+
* Extend iOS background tasks to silent and interactive requests.
6+
* Change order of FRT/MRRT lookup for silent token refreshes
7+
18
## [1.1.13] - 2020-12-04
29
* Adding nil check before assigning error when developers try to get account by username from MSALPublicClientApplication, this will help to prevent a crash when passing in nil as error ponter from the API
310

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.1.13"
3+
s.version = "1.1.14"
44
s.summary = "Microsoft Authentication Library (MSAL) Preview for iOS"
55
s.description = <<-DESC
66
The MSAL library preview 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: 38 additions & 0 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.1.13</string>
18+
<string>1.1.14</string>
1919
<key>CFBundleVersion</key>
2020
<string>$(CURRENT_PROJECT_VERSION)</string>
2121
<key>NSPrincipalClass</key>

MSAL/resources/mac/Info.plist

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,25 +2,25 @@
22
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
33
<plist version="1.0">
44
<dict>
5-
<key>CFBundleShortVersionString</key>
6-
<string>1.1.13</string>
7-
<key>CFBundleIdentifier</key>
8-
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
9-
<key>NSPrincipalClass</key>
10-
<string></string>
11-
<key>CFBundleName</key>
12-
<string>$(PRODUCT_NAME)</string>
13-
<key>CFBundleInfoDictionaryVersion</key>
14-
<string>6.0</string>
155
<key>CFBundleDevelopmentRegion</key>
166
<string>en</string>
177
<key>CFBundleExecutable</key>
188
<string>$(EXECUTABLE_NAME)</string>
9+
<key>CFBundleIdentifier</key>
10+
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
11+
<key>CFBundleInfoDictionaryVersion</key>
12+
<string>6.0</string>
13+
<key>CFBundleName</key>
14+
<string>$(PRODUCT_NAME)</string>
1915
<key>CFBundlePackageType</key>
2016
<string>FMWK</string>
17+
<key>CFBundleShortVersionString</key>
18+
<string>1.1.14</string>
2119
<key>CFBundleVersion</key>
2220
<string>$(CURRENT_PROJECT_VERSION)</string>
2321
<key>NSHumanReadableCopyright</key>
2422
<string>Copyright © 2017 Microsoft. All rights reserved.</string>
23+
<key>NSPrincipalClass</key>
24+
<string></string>
2525
</dict>
2626
</plist>
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
//
2+
// Copyright (c) Microsoft Corporation.
3+
// All rights reserved.
4+
//
5+
// This code is licensed under the MIT License.
6+
//
7+
// Permission is hereby granted, free of charge, to any person obtaining a copy
8+
// of this software and associated documentation files(the "Software"), to deal
9+
// in the Software without restriction, including without limitation the rights
10+
// to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
11+
// copies of the Software, and to permit persons to whom the Software is
12+
// furnished to do so, subject to the following conditions :
13+
//
14+
// The above copyright notice and this permission notice shall be included in
15+
// all copies or substantial portions of the Software.
16+
//
17+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18+
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19+
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20+
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21+
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22+
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
23+
// THE SOFTWARE.
24+
25+
26+
#import <MSAL/MSAL.h>
27+
#import "MSALAuthenticationSchemeBearer.h"
28+
#import "MSALAuthenticationSchemeProtocolInternal.h"
29+
30+
NS_ASSUME_NONNULL_BEGIN
31+
32+
@interface MSALAuthenticationSchemeBearer () <MSALAuthenticationSchemeProtocolInternal>
33+
34+
@end
35+
36+
NS_ASSUME_NONNULL_END

MSAL/src/MSALAuthenticationSchemeBearer.m

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
//
2626
//------------------------------------------------------------------------------
2727

28-
#import "MSALAuthenticationSchemeBearer.h"
28+
#import "MSALAuthenticationSchemeBearer+Internal.h"
2929
#import "MSIDAuthenticationScheme.h"
3030
#import "MSALAuthScheme.h"
3131
#import "MSIDAccessToken.h"
@@ -45,6 +45,15 @@ - (instancetype)init
4545
return self;
4646
}
4747

48+
#pragma mark - MSALAuthenticationSchemeProtocol
49+
50+
- (NSString *)authenticationScheme
51+
{
52+
return MSALParameterStringForAuthScheme(self.scheme);
53+
}
54+
55+
#pragma mark - MSALAuthenticationSchemeProtocolInternal
56+
4857
- (MSIDAuthenticationScheme *)createMSIDAuthenticationSchemeWithParams:(nullable NSDictionary *)params
4958
{
5059
return [[MSIDAuthenticationScheme alloc] initWithSchemeParameters:params];
@@ -60,11 +69,6 @@ - (NSString *)getClientAccessToken:(MSIDAccessToken *)accessToken popManager:(nu
6069
return accessToken.accessToken;
6170
}
6271

63-
- (NSString *)authenticationScheme
64-
{
65-
return MSALParameterStringForAuthScheme(self.scheme);
66-
}
67-
6872
- (NSString *)getAuthorizationHeader:(NSString *)accessToken
6973
{
7074
return [NSString stringWithFormat:@"%@%@%@", self.authenticationScheme, keyDelimiter, accessToken];
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
//
2+
// Copyright (c) Microsoft Corporation.
3+
// All rights reserved.
4+
//
5+
// This code is licensed under the MIT License.
6+
//
7+
// Permission is hereby granted, free of charge, to any person obtaining a copy
8+
// of this software and associated documentation files(the "Software"), to deal
9+
// in the Software without restriction, including without limitation the rights
10+
// to use, copy, modify, merge, publish, distribute, sublicense, and / or sell
11+
// copies of the Software, and to permit persons to whom the Software is
12+
// furnished to do so, subject to the following conditions :
13+
//
14+
// The above copyright notice and this permission notice shall be included in
15+
// all copies or substantial portions of the Software.
16+
//
17+
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
18+
// IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
19+
// FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20+
// AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
21+
// LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
22+
// OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
23+
// THE SOFTWARE.
24+
25+
26+
#import <MSAL/MSAL.h>
27+
#import "MSALAuthenticationSchemePop.h"
28+
#import "MSALAuthenticationSchemeProtocolInternal.h"
29+
30+
NS_ASSUME_NONNULL_BEGIN
31+
32+
@interface MSALAuthenticationSchemePop () <MSALAuthenticationSchemeProtocolInternal>
33+
34+
@end
35+
36+
NS_ASSUME_NONNULL_END

MSAL/src/MSALAuthenticationSchemePop.m

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
//
2626
//------------------------------------------------------------------------------
2727

28-
#import "MSALAuthenticationSchemePop.h"
28+
#import "MSALAuthenticationSchemePop+Internal.h"
2929
#import "MSIDAuthenticationSchemePop.h"
3030
#import "MSALHttpMethod.h"
3131
#import "MSIDDevicePopManager.h"
@@ -65,6 +65,13 @@ - (instancetype)initWithHttpMethod:(MSALHttpMethod)httpMethod
6565
return self;
6666
}
6767

68+
- (NSString *)authenticationScheme
69+
{
70+
return MSALParameterStringForAuthScheme(self.scheme);
71+
}
72+
73+
#pragma mark - MSALAuthenticationSchemeProtocolInternal
74+
6875
- (MSIDAuthenticationScheme *)createMSIDAuthenticationSchemeWithParams:(nullable NSDictionary *)params
6976
{
7077
return [[MSIDAuthenticationSchemePop alloc] initWithSchemeParameters:params];
@@ -118,11 +125,6 @@ - (nullable NSString *)getClientAccessToken:(MSIDAccessToken *)accessToken popMa
118125
return signedAccessToken;
119126
}
120127

121-
- (NSString *)authenticationScheme
122-
{
123-
return MSALParameterStringForAuthScheme(self.scheme);
124-
}
125-
126128
- (NSString *)getAuthorizationHeader:(NSString *)accessToken
127129
{
128130
return [NSString stringWithFormat:@"%@%@%@", self.authenticationScheme, keyDelimiter, accessToken];

0 commit comments

Comments
 (0)