How to get password!

oc-internals

#1

i want to get to get userid and password to see whether it matches the userid and password , but I can't find the API in the document and the password in the database is cryptographic,I want to know the way of encryption


#2

You cannot read the password from the database. We do not store the password but the hash.

The only thing you can do is to verify user and password using checkPassword

https://doc.owncloud.org/api/classes/OCP.IUserManager.html#method_checkPassword


#4

Thanks a lot,your answer help me a lot,but i want to know where to download it,I can't find it on the tag of Documentcation,whether it;s becuase i find the wrong place