Welcome Guest, Not a member yet? Register   Sign In
Mock Authentication

(This post was last modified: 11-16-2021, 05:33 PM by MGatner.)

Hi everyone! I have a quick one for you tonight: 

Mock Authentication for CodeIgniter 4

Since the inception of codeigniter4/authentication-implementation it has been much easier to create authentication-agnostic modules. The drawback to this is that you still need a way to test the code with some authentication. In the past I would plug in an entire library just to meet the requirement - no more! Imposter solves this by providing a bare minimum, easy-to-use authentication service and helper to facilitate testing. Right now it does the basics: login, logout, check for auth status. I hope to add in some more testing assertions down the road.

Check out the repo and let me know what you think!

Am very glad this guy is part of CI team. He is giving everything for Codeigniter. Thumbs up bro.

Thank you @MGatner , An access to the community.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )

Theme © iAndrew 2016 - Forum software by © MyBB