Skip to content

Commit

Permalink
update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
p3dr0rv committed Jan 3, 2025
1 parent 33740e2 commit 859d677
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions changelog.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
vNext
----------
- [MINOR] Organize browser selection classes and change signature for get AuthorizationStrategy (#2564)
- [MINOR] Add Sign in With Google component for MSA federation (#2551)
- [MINOR] Add SDMBroadcastReceiver for applications to register callbacks for SDM broadcasts (#2547)
- [MINOR] Add switch_browser toMicrosoftStsAuthorizationRequest (#2550)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,15 +59,15 @@ public class AndroidAuthorizationStrategyFactory implements IAuthorizationStrate
*
* @param authorizationAgent The authorization agent provided by the caller.
* @param browser The browser to use for authorization.
* @param isBrowserRequest True if the request is from browser.
* @param isBrokerRequest True if the request is from broker.
* @return The authorization strategy.
*/
@Override
@NonNull
public IAuthorizationStrategy getAuthorizationStrategy(
@NonNull final AuthorizationAgent authorizationAgent,
@Nullable final Browser browser,
final boolean isBrowserRequest) {
final boolean isBrokerRequest) {
final String methodTag = TAG + ":getAuthorizationStrategy";

// Use embedded webView if no browser available or authorization agent is webView
Expand All @@ -77,7 +77,7 @@ public IAuthorizationStrategy getAuthorizationStrategy(
}

Logger.info(methodTag, "Browser authorization, browser: " + browser);
return getBrowserAuthorizationStrategy(browser, isBrowserRequest);
return getBrowserAuthorizationStrategy(browser, isBrokerRequest);
}

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,6 @@ public interface IAuthorizationStrategyFactory<GenericAuthorizationStrategy exte
GenericAuthorizationStrategy getAuthorizationStrategy(
@NonNull final AuthorizationAgent authorizationAgent,
@Nullable final Browser browser,
final boolean isBrowserRequest
final boolean isBrokerRequest
);
}

0 comments on commit 859d677

Please sign in to comment.