-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Msal - Broker changes #433
Conversation
…reAD/microsoft-authentication-library-common-for-android into kreedula/msal-broker-changes
…reAD/microsoft-authentication-library-common-for-android into kreedula/msal-broker-changes
…reAD/microsoft-authentication-library-common-for-android into kreedula/msal-broker-changes
…reAD/microsoft-authentication-library-common-for-android into kreedula/msal-broker-changes
common/src/main/java/com/microsoft/identity/common/internal/broker/BrokerRequest.java
Outdated
Show resolved
Hide resolved
common/src/main/java/com/microsoft/identity/common/internal/broker/PackageHelper.java
Show resolved
Hide resolved
...n/src/main/java/com/microsoft/identity/common/internal/request/AdalBrokerRequestAdapter.java
Show resolved
Hide resolved
.../microsoft/identity/common/internal/request/BrokerAcquireTokenSilentOperationParameters.java
Outdated
Show resolved
Hide resolved
...rc/main/java/com/microsoft/identity/common/internal/request/BrokerRequestAdapterFactory.java
Outdated
Show resolved
Hide resolved
@@ -0,0 +1,231 @@ | |||
package com.microsoft.identity.common.internal.request; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
License needed
common/src/main/java/com/microsoft/identity/common/internal/request/OperationParameters.java
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Couple of minor things but overall LGTM
@@ -41,6 +41,9 @@ | |||
@SerializedName("correlation_id") | |||
private String mCorrelationId; | |||
|
|||
@SerializedName("oAuth_metadata") | |||
private String mOAuthErrorMetadata; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Curious. Any example of error metadata?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think currently we don't get any, but eventually we would I guess, just moved this from BrokerErrorResponse
...oft/identity/common/internal/providers/microsoft/microsoftsts/MicrosoftStsTokenResponse.java
Outdated
Show resolved
Hide resolved
} | ||
|
||
@Override | ||
public BrokerAcquireTokenOperationParameters brokerInteractiveParametersFromActivity(@NonNull final Activity callingActivity) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are these all moved from ad-accounts' BrokerUtil? Is there any extra change you made in this PR?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Moved and refactored with some changes as deemed appropriate. Anything suspicious?
...n/src/main/java/com/microsoft/identity/common/internal/request/MsalBrokerRequestAdapter.java
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you, Krishna.
…reAD/microsoft-authentication-library-common-for-android into kreedula/msal-broker-changes
…reAD/microsoft-authentication-library-common-for-android into kreedula/msal-broker-changes
Thanks @iambmelt @heidijinxujia for the review |
ad-accounts PR : https://github.com/AzureAD/ad-accounts-for-android/pull/911
msal PR : AzureAD/microsoft-authentication-library-for-android#550