Skip to content

Search by email and documentation in general #816

Answered by kenjis
gl2007 asked this question in Q&A
Discussion options

You must be logged in to vote

what all providers exist and what all methods are available in each method?

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.

how do I use relationships? ChapGPT shows hasOne/isOneOf methods, which didn't work (not surprised). Do I have to do the usual query or is there lazyloading of referenced objects?

There is no special feature for relationships.
But User Provider handles email/password User Identities.

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
3 replies
@gl2007
Comment options

@datamweb
Comment options

@gl2007
Comment options

Comment options

You must be logged in to vote
1 reply
@gl2007
Comment options

Answer selected by gl2007
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants