Welcome Guest, Not a member yet? Register   Sign In
Controller in Library
#11

(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?

SEE:

What is FIDO? - FIDO Authentication is the Answer

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.
Reply
#12

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.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB