wp_is_authorize_application_password_request_valid


wp_is_authorize_application_password_request_valid ( $request, $user )

Parameters:
  • (array) request { The array of request data. All arguments are optional and may be empty. @type string $app_name The suggested name of the application. @type string $app_id A uuid provided by the application to uniquely identify it. @type string $success_url The url the user will be redirected to after approving the application. @type string $reject_url The url the user will be redirected to after rejecting the application. }
  • (WP_User) user The user authorizing the application.
Returns:
  • (bool|WP_Error) True if the request is valid, a WP_Error object contains errors if not.
Defined at:

Description

Checks if the Authorize Application Password request is valid.

Related Functions

wp_is_application_passwords_available, wp_authenticate_application_password, wp_validate_application_password, wp_is_application_passwords_available_for_user, rest_add_application_passwords_to_index

Top Google Results

User discussions

wpseek mobile