-
Is there documentation on
Will be a bit honest here but it's been a struggle to find things around in Shield. Would have been great to just list down all available classes, their methods, properties, ways to use etc. Note: just started looking at the source |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
We have tried our best to provide concise but clear documentation to users. I may not have done well in the sections on this. But fortunately, Shield is an open source project and anyone can contribute to its improvement. Regarding your question, unfortunately, I did not understand some parts. But if you want to search based on email, do the following. $users = auth()->getProvider();
echo $users->findByCredentials(['email' => '[email protected]'])?->username; |
Beta Was this translation helpful? Give feedback.
-
There are only one provider "User Provider" in Shield. I recommend you see the source code to know all methods.
There is no special feature for relationships. |
Beta Was this translation helpful? Give feedback.
There are only one provider "User Provider" in Shield.
https://codeigniter4.github.io/shield/concepts/#user-providers
I recommend you see the source code to know all methods.
It is well documented with PHPDocs.
There is no special feature for relationships.
But User Provider handles email/password User Identities.