wp_authenticate_application_password


wp_authenticate_application_password ( $input_user, $username, $password )

Parameters:
  • (WP_User|WP_Error|null) input_user WP_User or WP_Error object if a previous callback failed authentication.
  • (string) username Username for authentication.
  • (string) password Password for authentication.
Returns:
  • (WP_User|WP_Error|null) WP_User on success, WP_Error on failure, null if null is passed in and this isn't an API request.
Defined at:

Description

Authenticates the user using an application password.

Related Functions

wp_validate_application_password, wp_authenticate_email_password, wp_authenticate_username_password, rest_get_authenticated_app_password, wp_is_authorize_application_password_request_valid

Top Google Results

User discussions

wpseek mobile