wp_authenticate_application_password() – Authenticates the user using an application password.

You appear to be a bot. Output may be restricted

Description

Authenticates the user using an application password.

Usage

$WP_User|WP_Error|null = wp_authenticate_application_password( $input_user, $username, $password );

Parameters

$input_user
( WP_User|WP_Error|null ) required – WP_User or WP_Error object if a previous callback failed authentication.
$username
( string ) required – Username for authentication.
$password
( string ) required – 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.

Source

File name: wordpress/wp-includes/user.php


Lines:

101 to 141 of 141
}
 

 View on GitHub View on Trac