Conversation
…nfidentialClientApplication and ManagedIdentityApplication
…, reduce use of public scope, and generally match the library's existing code styles
|
|
||
| @Accessors(fluent = true) | ||
| @Getter | ||
| private String applicationName; |
There was a problem hiding this comment.
Please leave appname and appver out, as we're not hitting ESTS.
PS: they are not actually used :)
There was a problem hiding this comment.
Moved it back to AbstractClientApplicationBase in the latest commit (they were referenced in the RequestContext class which now uses AbstractApplicationBase, so I figured they could've been relevant for managed identity).
However, since they aren't actually used should we start marking them as deprecated? (in a different PR)
msal4j-sdk/src/main/java/com/microsoft/aad/msal4j/AbstractApplicationBase.java
Show resolved
Hide resolved
msal4j-sdk/src/main/java/com/microsoft/aad/msal4j/AbstractApplicationBase.java
Outdated
Show resolved
Hide resolved
msal4j-sdk/src/main/java/com/microsoft/aad/msal4j/AbstractApplicationBase.java
Outdated
Show resolved
Hide resolved
msal4j-sdk/src/main/java/com/microsoft/aad/msal4j/AccountsSupplier.java
Outdated
Show resolved
Hide resolved
|
We will also need to hide the API's at the request level. Right now the ManagedIdentityParameters implements the IAcquireTokenParamters which have APIs WithClaims, extraQueryParams etc. Which are not relevant to managed identity. Please add a base level to IAcquireTokenParameters as well. |
msal4j-sdk/src/main/java/com/microsoft/aad/msal4j/AbstractApplicationBase.java
Outdated
Show resolved
Hide resolved
msal4j-sdk/src/main/java/com/microsoft/aad/msal4j/AbstractApplicationBase.java
Outdated
Show resolved
Hide resolved
msal4j-sdk/src/main/java/com/microsoft/aad/msal4j/IApplicationBase.java
Outdated
Show resolved
Hide resolved
msal4j-sdk/src/main/java/com/microsoft/aad/msal4j/ManagedIdentityResponse.java
Outdated
Show resolved
Hide resolved
bgavrilMS
left a comment
There was a problem hiding this comment.
SILENT flow and REFREH_TOKEN flow are not part of the base.
…thentication-library-for-java into avdunn/msi-refactoring # Conflicts: # msal4j-sdk/src/main/java/com/microsoft/aad/msal4j/AppServiceManagedIdentitySource.java # msal4j-sdk/src/main/java/com/microsoft/aad/msal4j/IMDSManagedIdentitySource.java # msal4j-sdk/src/main/java/com/microsoft/aad/msal4j/ManagedIdentityErrorResponse.java # msal4j-sdk/src/test/java/com/microsoft/aad/msal4j/ManagedIdentityTestDataProvider.java # msal4j-sdk/src/test/java/com/microsoft/aad/msal4j/ManagedIdentityTests.java
Refactoring the codebase to better accommodate the new MSI code. The main goals of this PR: