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:
  • (true|WP_Error) True if the request is valid, a WP_Error object contains errors if not.
Defined at:
Change Log:
  • 6: .
  • 6: .

Description

Checks if the Authorize Application Password request is valid.

Related Functions

wp_is_authorize_application_redirect_url_valid, wp_is_application_passwords_available, wp_authenticate_application_password, wp_is_application_passwords_supported, wp_validate_application_password

Top Google Results

User discussions

wpseek mobile