Skip to content

Commit 65eec62

Browse files
authored
Merge pull request #1281 from AzureAD/release/2.0.6
Merge release/2.0.6 to master
2 parents 45cb02e + 044249d commit 65eec62

File tree

71 files changed

+1697
-363
lines changed

Some content is hidden

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

71 files changed

+1697
-363
lines changed

.github/labeler.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
docs:
2+
- docs/**/*
3+
common:
4+
- common/**/*
5+
msal:
6+
- msal/**/*
7+
test-automation:
8+
- msalautomationapp/**/*
9+
package-inspector:
10+
- package-inspector/**/*
11+
pop-benchmarker:
12+
- pop-benchmarker/**/*
13+
testapps:
14+
- testapps/**/*

.github/workflows/label.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# This workflow will triage pull requests and apply a label based on the
2+
# paths that are modified in the pull request.
3+
#
4+
# To use this workflow, you will need to set up a .github/labeler.yml
5+
# file with configuration. For more information, see:
6+
# https://github.com/actions/labeler/blob/master/README.md
7+
8+
name: Labeler
9+
on:
10+
- pull_request
11+
12+
jobs:
13+
label:
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: actions/labeler@v2
17+
with:
18+
repo-token: "${{ secrets.GITHUB_TOKEN }}"
19+
configuration-path: ".github/labeler.yml"

.travis.yml

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

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ Microsoft Authentication Library (MSAL) for Android
77
The MSAL library for Android gives your app the ability to use the [Microsoft Cloud](https://cloud.microsoft.com) by supporting [Microsoft Azure Active Directory](https://azure.microsoft.com/services/active-directory/) and [Microsoft accounts](https://account.microsoft.com) in a converged experience using industry standard OAuth2 and OpenID Connect. The library also supports [Azure AD B2C](https://azure.microsoft.com/services/active-directory-b2c/).
88

99
[![Version Badge](https://img.shields.io/maven-central/v/com.microsoft.identity.client/msal.svg)](https://repo1.maven.org/maven2/com/microsoft/identity/client/msal/)
10-
[![Build Status](https://travis-ci.org/AzureAD/microsoft-authentication-library-for-android.svg?branch=master)](https://travis-ci.org/AzureAD/microsoft-authentication-library-for-android)
1110

1211

1312
## Introduction

azure-pipelines.yml

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
name: Instrumented Tests
2+
trigger:
3+
- main
4+
5+
6+
pool:
7+
name: DockerBuildAgents
8+
9+
workspace:
10+
clean: all
11+
steps:
12+
- checkout: self
13+
submodules: true
14+
- script: |
15+
docker --version
16+
echo =============================================
17+
echo Kill all running containers if existing
18+
echo =============================================
19+
docker container kill $(docker ps -q)
20+
echo =============================================
21+
echo Run unit and instrumented inside docker container
22+
echo =============================================
23+
docker run --privileged --cpus="3" --memory="12g" -v "$PWD":/home/gradle/ -w /home/gradle/ authclient.azurecr.io/samples/dbi-instrumented-api30 sh scripts/run-instrumented-tests.sh
24+
displayName: 'Build and test inside docker container'
25+
- script: |
26+
echo =============================================
27+
echo Kill all running containers if existing
28+
echo =============================================
29+
docker container kill $(docker ps -q)
30+
echo =============================================
31+
echo Cleaning up build output that is owned by docker user rather than agent user
32+
echo =============================================
33+
docker run --privileged --cpus="3" --memory="12g" -v "$PWD":/home/gradle/ -w /home/gradle/ authclient.azurecr.io/samples/dbi-instrumented-api30 gradle clean
34+
echo =============================================
35+
echo prune containers to avoid running out of disk space - shutdown containers still exist on disk
36+
echo =============================================
37+
docker system prune -f
38+
echo =============================================
39+
echo Dump environment variables for build agent
40+
echo =============================================
41+
env
42+
condition: always()
43+
displayName: 'Cleanup'

changelog

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
MSAL Wiki : https://github.com/AzureAD/microsoft-authentication-library-for-android/wiki
22

3-
v.Next
3+
Version 2.0.6
44
----------
5+
- Warn if SAPCA used with B2C. Throw Exception if Multiple Policies are Configured (#1270)
6+
57

68
Version 2.0.5
79
----------
810
- Fix exception casting issue in CommandDispatcher (common #1121)
911

10-
1112
Version 2.0.4
1213
----------
1314
- Fix syntax error in proguard rules, add usage of proguard to test app #1224

common

Submodule common updated 154 files

docs/publicclientapplication.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ MSAL Android divides public client applications into 2 sub-types:
88

99
- Single Account Public Client Application - Which is intended to be used by applications that only expect one account to be in use at a time
1010
- For example: Line of business applications
11-
- Multiple Account Public Client Applications - Which is intended to be used by applications that expect their user to have multiple accounts and to want to use multiple accounts at the same time.
11+
- Multiple Account Public Client Applications - Which is intended to be used by B2C applications and any other application that expects a user to have multiple accounts and to want to use multiple accounts at the same time.
1212
- For example: Email clients
1313

1414
## Factory Methods
@@ -45,4 +45,3 @@ PublicClientApplication includes a number of static methods for constructing dif
4545

4646

4747

48-

gradle.properties

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ ariaTenantTokenProd="b6618d4b5d24466a9d2d0d8cde8cd6e4-ddcec952-23e9-4765-b4fb-f8
22
ariaTenantTokenTest="1e8435186fa849b28b1a402fb5074ff1-0b91a9ec-efad-440c-b92c-ac4cb55ba0ff-7490"
33

44
android.useAndroidX=true
5-
android.enableJetifier=false
5+
android.enableJetifier=true
66

77
# https://office.visualstudio.com/Outlook%20Mobile/_wiki/wikis/Outlook-Mobile.wiki/3780/Android-Studio-Gradle-Performance-tips-and-tricks
88
org.gradle.parallel=true
@@ -15,4 +15,4 @@ org.gradle.jvmargs=-Xmx4g -XX:MaxPermSize=2048m -Dkotlin.daemon.jvm.options\="-X
1515
versionName=1.5.9
1616

1717
# For OneAuth default abiSelection
18-
abiSelection=x86
18+
abiSelection=x86_64

gradle/versions.gradle

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,16 @@ ext {
33
// SDK
44
minSdkVersion = 16
55
automationAppMinSDKVersion = 21
6-
targetSdkVersion = 28
7-
compileSdkVersion = 28
6+
targetSdkVersion = 30
7+
compileSdkVersion = 30
88
buildToolsVersion = "28.0.3"
99

1010
// Plugins
11-
gradleVersion = '4.0.1'
11+
gradleVersion = '4.1.0'
1212
androidMavenGradlePluginVersion = "1.4.1"
13+
14+
//Java Language Support
15+
coreLibraryDesugaringVersion = "1.0.9"
1316

1417
// Libraries
1518
androidxTestRunnerVersion = "1.2.0"
@@ -21,16 +24,16 @@ ext {
2124
appCompatVersion = "1.0.2"
2225
browserVersion = "1.0.0"
2326
constraintLayoutVersion = "1.1.3"
24-
dexmakerMockitoVersion = "1.4"
27+
dexmakerMockitoVersion = "2.19.0"
2528
espressoCoreVersion = "3.1.0"
2629
gsonVersion = "2.8.5"
2730
junitVersion = "4.12"
2831
legacySupportV4Version = "1.0.0"
2932
localBroadcastManagerVersion = "1.0.0"
3033
lombokVersion = "1.18.12"
3134
materialVersion = "1.0.0"
32-
mockitoCoreVersion = "2.18.3"
33-
mockitoAndroidVersion = "2.18.3"
35+
mockitoCoreVersion = "3.6.28"
36+
mockitoAndroidVersion = "3.6.28"
3437
multidexVersion = "2.0.1"
3538
nimbusVersion = "8.2"
3639
powerMockVersion = "1.6.6"
@@ -45,7 +48,6 @@ ext {
4548
adalSnapshot = "3.1.1-SNAPSHOT"
4649
adalLatest = "3.1.1"
4750

48-
4951
//#### The following are TSL version variables - BEGIN
5052
projectCompileSdkVersion = 29
5153
projectBuildToolsVersion = '28.0.3'

0 commit comments

Comments
 (0)