-
Notifications
You must be signed in to change notification settings - Fork 800
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add connection authentication URL. (#14004)
* Moved the authentication request code to the Manager class. * Fixed the redirect URL problem. * Update packages/connection/tests/php/test_Manager.php Co-Authored-By: Kim Brown <50059399+kbrown9@users.noreply.github.com> * Connection: Fix add_filter call and change method name * Add the priority and number of accepted args to the add_filter call for 'jetpack_api_url'. * Change the method name from 'build_connect_url" to 'get_authorization_url'. * Added additional logic to the connect_user method. * Modified the method to use passed user instead of current. * Added an exit call after the redirect.
- Loading branch information
Showing
3 changed files
with
222 additions
and
70 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters