Skip to content

Commit 8a58148

Browse files
committed
merge 1.2.22.2 back to dev
2 parents 3db6341 + 2c53ee7 commit 8a58148

File tree

349 files changed

+41413
-602
lines changed

Some content is hidden

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

349 files changed

+41413
-602
lines changed

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
## [1.3.1]
2+
* Preferred auth method added to device information, returned from broker
3+
4+
## [1.3.0]
5+
16
## [1.2.24]
27
* Fix pkey auth after server side removal of registration to use isDeviceRegistered flag from ssoContext.
38

CODEOWNERS

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22
# Unless a later match takes precedence, these users will be requested
33
# for review whenever someone opens a pull request.
44
* @AzureAD/AppleIdentityTeam
5+
# @AzureAD/AppleIdentityTeam and @AzureAD/MSAL-ObjC-CIAM will be the co-owners of the MSAL.project file
6+
/MSAL/MSAL.xcodeproj/project.pbxproj @AzureAD/AppleIdentityTeam @AzureAD/MSAL-ObjC-CIAM
7+
# @AzureAD/MSAL-ObjC-CIAM owns any files in the */native_auth
8+
# directories, subdirectories and the module.modulemap file.
9+
/MSAL/module.modulemap @AzureAD/MSAL-ObjC-CIAM
10+
/MSAL/src/native_auth/ @AzureAD/MSAL-ObjC-CIAM
11+
/MSAL/test/unit/native_auth/ @AzureAD/MSAL-ObjC-CIAM
12+
/MSAL/test/integration/native_auth/ @AzureAD/MSAL-ObjC-CIAM
513
# For more details about inheritance patterns, or to assign different
614
# owners for individual file extensions, see:
715
# https://help.github.com/articles/about-codeowners/

MSAL.podspec

Lines changed: 29 additions & 20 deletions
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.2.22"
3+
s.version = "1.3.1"
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.
@@ -20,36 +20,45 @@ Pod::Spec.new do |s|
2020
:tag => s.version.to_s,
2121
:submodules => true
2222
}
23-
24-
s.pod_target_xcconfig = { 'CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF' => 'NO' }
23+
s.resource_bundles = {"MSAL" => ["MSAL/PrivacyInfo.xcprivacy"]}
2524
s.default_subspecs ='app-lib'
2625

2726
s.prefix_header_file = "MSAL/src/MSAL.pch"
2827
s.header_dir = "MSAL"
2928

3029
s.subspec 'app-lib' do |app|
31-
app.source_files = "MSAL/src/**/*.{h,m}", "MSAL/IdentityCore/IdentityCore/src/**/*.{h,m}"
32-
app.ios.public_header_files = "MSAL/src/public/*.h","MSAL/src/public/ios/**/*.h", "MSAL/src/public/configuration/**/*.h"
33-
app.osx.public_header_files = "MSAL/src/public/mac/*.h","MSAL/src/public/*.h", "MSAL/src/public/configuration/**/*.h"
34-
35-
app.ios.exclude_files = "MSAL/src/**/mac/*", "MSAL/IdentityCore/IdentityCore/src/**/mac/*"
36-
37-
app.osx.exclude_files = "MSAL/src/**/ios/*", "MSAL/IdentityCore/IdentityCore/src/**/ios/*"
38-
app.requires_arc = true
30+
app.pod_target_xcconfig = { 'CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF' => 'NO' }
31+
app.source_files = "MSAL/src/**/*.{h,m}", "MSAL/IdentityCore/IdentityCore/src/**/*.{h,m}"
32+
app.ios.public_header_files = "MSAL/src/public/*.h","MSAL/src/public/ios/**/*.h", "MSAL/src/public/configuration/**/*.h", "MSAL/src/native_auth/public/*.h"
33+
app.osx.public_header_files = "MSAL/src/public/mac/*.h","MSAL/src/public/*.h", "MSAL/src/public/configuration/**/*.h"
34+
app.ios.exclude_files = "MSAL/src/**/mac/*", "MSAL/IdentityCore/IdentityCore/src/**/mac/*"
35+
app.osx.exclude_files = "MSAL/src/**/ios/*", "MSAL/IdentityCore/IdentityCore/src/**/ios/*", "MSAL/src/native_auth/**/*"
36+
app.requires_arc = true
37+
end
38+
39+
s.subspec 'native-auth' do |nat|
40+
nat.pod_target_xcconfig = { 'CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF' => 'NO', 'HEADER_SEARCH_PATHS' => "$SRCROOT/MSAL"}
41+
nat.source_files = "MSAL/src/**/*.{h,m}", "MSAL/src/native_auth/**/*.{h,m,swift}", "MSAL/IdentityCore/IdentityCore/src/**/*.{h,m}", "MSAL/module.modulemap"
42+
nat.ios.public_header_files = "MSAL/src/public/*.h","MSAL/src/public/ios/**/*.h", "MSAL/src/public/configuration/**/*.h", "MSAL/src/native_auth/public/*.h"
43+
nat.osx.public_header_files = "MSAL/src/public/mac/*.h","MSAL/src/public/*.h", "MSAL/src/public/configuration/**/*.h"
44+
nat.ios.exclude_files = "MSAL/src/**/mac/*", "MSAL/IdentityCore/IdentityCore/src/**/mac/*"
45+
nat.osx.exclude_files = "MSAL/src/**/ios/*", "MSAL/IdentityCore/IdentityCore/src/**/ios/*", "MSAL/src/native_auth/**/*", "MSAL/module.modulemap"
46+
nat.requires_arc = true
3947
end
4048

4149
# Note, MSAL has limited support for running in app extensions.
4250
s.subspec 'extension' do |ext|
43-
ext.compiler_flags = '-DADAL_EXTENSION_SAFE=1'
44-
ext.source_files = "MSAL/src/**/*.{h,m}", "MSAL/IdentityCore/IdentityCore/src/**/*.{h,m}"
45-
ext.ios.public_header_files = "MSAL/src/public/*.h","MSAL/src/public/ios/**/*.h", "MSAL/src/public/configuration/**/*.h"
46-
ext.osx.public_header_files = "MSAL/src/public/mac/*.h","MSAL/src/public/*.h", "MSAL/src/public/configuration/**/*.h"
51+
ext.pod_target_xcconfig = { 'CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF' => 'NO' }
52+
ext.compiler_flags = '-DADAL_EXTENSION_SAFE=1'
53+
ext.source_files = "MSAL/src/**/*.{h,m}", "MSAL/IdentityCore/IdentityCore/src/**/*.{h,m}"
54+
ext.ios.public_header_files = "MSAL/src/public/*.h","MSAL/src/public/ios/**/*.h", "MSAL/src/public/configuration/**/*.h", "MSAL/src/native_auth/public/*.h"
55+
ext.osx.public_header_files = "MSAL/src/public/mac/*.h","MSAL/src/public/*.h", "MSAL/src/public/configuration/**/*.h"
4756

48-
# There is currently a bug in CocoaPods where it doesn't combine the public headers
49-
# for both the platform and overall.
50-
ext.ios.exclude_files = "MSAL/src/**/mac/*", "MSAL/IdentityCore/IdentityCore/src/**/mac/*"
51-
ext.osx.exclude_files = "MSAL/src/**/ios/*", "MSAL/IdentityCore/IdentityCore/src/**/ios/*"
52-
ext.requires_arc = true
57+
# There is currently a bug in CocoaPods where it doesn't combine the public headers
58+
# for both the platform and overall.
59+
ext.ios.exclude_files = "MSAL/src/**/mac/*", "MSAL/IdentityCore/IdentityCore/src/**/mac/*"
60+
ext.osx.exclude_files = "MSAL/src/**/ios/*", "MSAL/IdentityCore/IdentityCore/src/**/ios/*", "MSAL/src/native_auth/**/*"
61+
ext.requires_arc = true
5362
end
5463

5564
end

MSAL/.swiftlint.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
included:
2+
- src/native_auth
3+
4+
5+
line_length:
6+
warning: 150
7+
8+
type_name:
9+
max_length: 60
10+
11+
function_parameter_count:
12+
warning: 7
13+
14+
disabled_rules:
15+
- todo

0 commit comments

Comments
 (0)