Controller in Library |
(05-19-2022, 11:44 PM)InsiteFX Wrote: Isn't it a waste of time when the web is moving over to FIDO Passwordless Authiencation? It might be moving there, but it's not there yet. FIDO was definitely on my list of things to look into. Shield is built in such a way that dropping in another form of login should be relatively simple, though.
To get back to the OP's question, though - while it's theoretically possible to make an instance of a controller and use a method that doesn't use the request or response objects, that's not a great idea. Separating it out into a library or model is a much better practice.
|
Welcome Guest, Not a member yet? Register Sign In |