Nextcloud PHP API (master)

ICheckPasswordBackend

Tags
since
14.0.0

Table of Contents

Methods

checkPassword()  : string|false
Check if the password is correct without logging in the user returns the user id or false.

Methods

checkPassword()

Check if the password is correct without logging in the user returns the user id or false.

public checkPassword(string $loginName, string $password) : string|false
Parameters
$loginName : string

The login name

$password : string

The password

Tags
since
14.0.0
Return values
string|false

The uid on success false on failure

On this page

Search results