Skip to content

Commit 31ba9d0

Browse files
authored
Merge pull request #131 from AzureAD/sagonzal/removeUnusedCode
Remove telemetry sample. Update MsalServiceExceptionFactory
2 parents 0644297 + ddd6b89 commit 31ba9d0

File tree

3 files changed

+1
-54
lines changed

3 files changed

+1
-54
lines changed

src/main/java/com/microsoft/aad/msal4j/MsalServiceExceptionFactory.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ static MsalServiceException fromHttpResponse(HTTPResponse httpResponse){
3434
errorResponse.error().equalsIgnoreCase(AuthenticationErrorCode.INVALID_GRANT)) {
3535

3636
if(isInteractionRequired(errorResponse.subError)){
37-
throw new MsalInteractionRequiredException(errorResponse, httpResponse.getHeaderMap());
37+
return new MsalInteractionRequiredException(errorResponse, httpResponse.getHeaderMap());
3838
}
3939
}
4040

src/samples/public-client/IntegratedWindowsAuthFlow.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ public static void main(String args[]) throws Exception {
2020
private static IAuthenticationResult getAccessTokenByIntegratedAuth() throws Exception {
2121
PublicClientApplication app = PublicClientApplication.builder(TestData.PUBLIC_CLIENT_ID)
2222
.authority(TestData.AUTHORITY_ORGANIZATION)
23-
.telemetryConsumer(new Telemetry.MyTelemetryConsumer().telemetryConsumer)
2423
.build();
2524

2625
IntegratedWindowsAuthenticationParameters parameters =

src/samples/public-client/Telemetry.java

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

0 commit comments

Comments
 (0)