Couple additions to AuthenticatorInterface #1233
FrancoisChaumont
started this conversation in
General
Replies: 1 comment
-
If you needed methods like that you could extend the Session Authenticator which includes those methods and then override them. It's what I did for my halberd extension for shield except that I didn't need to override those particular methods. More importantly, those methods may not be necessary for every authenticator so they shouldn't be included in the interface. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey all,
I thought it'd be helpful to suggest adding the following to
CodeIgniter\Shield\Authentication\AuthenticatorInterface
:Useful for code auto-completion.
Use-case: dynamically log in a user when not going through the usual login process (login page, credentials verification, 2FA...).
That's it. Thanks
PS: I couldn't find a way to easily extend
AuthenticatorInterface
so I'm posting it here.Beta Was this translation helpful? Give feedback.
All reactions