Skip to content

Commit 1a6dfba

Browse files
committed
edits
1 parent 629b232 commit 1a6dfba

File tree

3 files changed

+1
-12
lines changed

3 files changed

+1
-12
lines changed

common/src/main/java/com/microsoft/identity/common/internal/controllers/BrokerMsalController.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1450,7 +1450,7 @@ public void putValueInSuccessEvent(@NonNull final ApiEndEvent event,
14501450
/**
14511451
* Execute web app request in broker.
14521452
*
1453-
* @param request request string
1453+
* @param request request string.
14541454
* @param minBrokerProtocolVersion minimum broker protocol version the caller requires.
14551455
* @param additionalRequiredParams additional required parameters for web app request.
14561456
* @throws BaseException
@@ -1829,7 +1829,6 @@ private BrokerInteractiveTokenCommandParameters buildInteractiveTokenParametersF
18291829
.authority(authority)
18301830
.scopes(scopeSet)
18311831
.loginHint(webAppsRequest.getLoginHint())
1832-
.claimsRequestJson(webAppsRequest.getClaims())
18331832
.correlationId(correlationId)
18341833
.requiredBrokerProtocolVersion(minBrokerProtocolVersion)
18351834
.prompt(prompt)

common/src/test/java/com/microsoft/identity/common/internal/controllers/BrokerMsalControllerTest.java

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,6 @@ public void testExecuteWebAppRequest_SilentError_UiNotAllowed() throws Exception
290290
"https://redirect",
291291
"corr-id",
292292
"login", // Setting to login
293-
null,
294293
false,
295294
null,
296295
null,
@@ -329,7 +328,6 @@ public void testExecuteWebAppRequest_SilentError_UiNotAllowed_ESTS() throws Exce
329328
"https://redirect",
330329
"corr-id",
331330
"login", // Setting to login
332-
null,
333331
true,
334332
null,
335333
null,
@@ -420,7 +418,6 @@ private static String buildInteractiveGetTokenRequestJson(final boolean isSts) {
420418
"https://demoapp.com/",
421419
"corr-id",
422420
"login", // prompt forces interactive
423-
null,
424421
isSts, // isSecurityTokenService
425422
null,
426423
null,
@@ -446,7 +443,6 @@ private String buildStrictlySilentGetTokenRequestJson(final boolean isSts) throw
446443
"https://demoapp.com/", // redirectUri (required)
447444
"corr-id", // correlationId (optional)
448445
"none", // prompt ("none" for silent)
449-
null, // claims
450446
isSts, // isSecurityTokenService
451447
null, // nonce
452448
null, // state
@@ -474,7 +470,6 @@ private String buildFallbackSilentGetTokenRequestJson(final boolean isSts) throw
474470
"https://demoapp.com/", // redirectUri (required)
475471
"corr-id", // correlationId (optional)
476472
"select_account", // prompt
477-
null, // claims
478473
isSts, // isSecurityTokenService
479474
null, // nonce
480475
null, // state

common4j/src/main/com/microsoft/identity/common/java/commands/webapps/WebAppsGetTokenSubOperationRequest.kt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,6 @@ data class WebAppsGetTokenSubOperationRequest(
5656
@SerializedName(FIELD_PROMPT)
5757
val prompt: String? = null,
5858

59-
// Optional; claims request in JSON format.
60-
@SerializedName(FIELD_CLAIMS)
61-
val claims: String? = null,
62-
6359
// If not provided, we assume this is false.
6460
@SerializedName(FIELD_IS_SECURITY_TOKEN_SERVICE)
6561
val isSecurityTokenService: Boolean = false,
@@ -93,7 +89,6 @@ data class WebAppsGetTokenSubOperationRequest(
9389
const val FIELD_REDIRECT_URI = "redirectUri"
9490
const val FIELD_CORRELATION_ID = "correlationId"
9591
const val FIELD_PROMPT = "prompt"
96-
const val FIELD_CLAIMS = "claims"
9792
const val FIELD_IS_SECURITY_TOKEN_SERVICE = "isSts"
9893
const val FIELD_NONCE = "nonce"
9994
const val FIELD_STATE = "state"

0 commit comments

Comments
 (0)