CakeDC Auth Plugin
===================

<p>
    <a href="LICENSE" target="_blank">
        <img alt="Software License" src="https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square">
    </a>
    <img alt="Build Status" src="https://github.com/cakedc/auth/actions/workflows/ci.yml/badge.svg">    
    <a href="https://codecov.io/gh/cakedc/auth" target="_blank">
        <img alt="Coverage Status" src="https://img.shields.io/codecov/c/github/cakedc/auth?style=flat-square">
    </a>
    <a href="https://packagist.org/packages/cakedc/auth" target="_blank">
        <img alt="Total Downloads" src="https://img.shields.io/packagist/dt/cakedc/auth.svg?style=flat-square">
    </a>
    <a href="https://packagist.org/packages/cakedc/auth" target="_blank">
        <img alt="Latest Stable Version" src="https://img.shields.io/packagist/v/cakedc/auth.svg?style=flat-square&label=stable">
    </a>
</p>

CakeDC Auth Objects is a refactor of the existing Auth objects present in the CakeDC Users Plugin, 
to let anyone else use them in their projects.

It covers the following features:
* RBAC
* Remember me (Cookie)
* ApiAuthenticate for simple token based login

Requirements
------------

* CakePHP 4.0.0+
* PHP 7.2+

Versions and branches
---------------------

| CakePHP | CakeDC Auth Plugin | Tag   | Notes |
| :-------------: | :------------------------: | :--:  | :---- |
| ^4.3            | [7.0](https://github.com/cakedc/auth/tree/7.next-cake4)                      | 7.0.0 | stable |
| ^4.0     <4.3   | [6.0](https://github.com/cakedc/auth/tree/6.next-cake4)                      | 6.0.2 | stable |
| ^3.7    <4.0.0  | [5.0](https://github.com/cakedc/auth/tree/5.next)                      | 5.0.0 | stable |


Documentation
-------------

For documentation, as well as tutorials, see the [Docs](Docs/Home.md) directory of this repository.

Support
-------

For bugs and feature requests, please use the [issues](https://github.com/CakeDC/auth/issues) section of this repository.

Commercial support is also available, [contact us](https://www.cakedc.com/contact) for more information.

Contributing
------------

This repository follows the [CakeDC Plugin Standard](https://www.cakedc.com/plugin-standard). 
If you'd like to contribute new features, enhancements or bug fixes to the plugin, please read our [Contribution Guidelines](https://www.cakedc.com/contribution-guidelines) for detailed instructions.

License
-------

Copyright 2017 Cake Development Corporation (CakeDC). All rights reserved.

Licensed under the [MIT](http://www.opensource.org/licenses/mit-license.php) License. Redistributions of the source code included in this repository must retain the copyright notice found in each file.
