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

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

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

Tatter\Imposter
Mock Authentication for CodeIgniter 4
https://github.com/tattersoftware/codeigniter4-imposter

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!
https://github.com/tattersoftware/codeigniter4-imposter
Reply


Messages In This Thread
Mock Authentication - by MGatner - 11-16-2021, 05:32 PM
RE: Mock Authentication - by seunex - 11-16-2021, 09:43 PM
RE: Mock Authentication - by InsiteFX - 11-17-2021, 03:03 AM



Theme © iAndrew 2016 - Forum software by © MyBB