File tree Expand file tree Collapse file tree 3 files changed +5
-0
lines changed
Expand file tree Collapse file tree 3 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -42,6 +42,8 @@ At the same time you can always set up "deny" rules for any allowed prefix to re
4242
4343## Enabling
4444
45+ ** DEPRECATED** Use ` TinyAuth.Authentication ` instead. Rest of the page is accurate.
46+
4547Authentication is set up in your controller's ` initialize() ` method:
4648
4749``` php
Original file line number Diff line number Diff line change @@ -21,6 +21,8 @@ frontend yourself)
2121Assuming you already have authentication set up correctly you can enable
2222authorization in your controller's ` beforeFilter() ` method like this example:
2323
24+ ** DEPRECATED** Use middleware approach and ` TinyAuth.Authorization ` instead. Rest of the page is accurate.
25+
2426``` php
2527// src/Controller/AppController
2628
Original file line number Diff line number Diff line change 1212 * TinyAuth AuthComponent to handle all authentication in a central INI file.
1313 *
1414 * @property \Cake\Controller\Component\FlashComponent $Flash
15+ * @deprecated Use TinyAuth.Authentication and TinyAuth.Authorization instead.
1516 */
1617class AuthComponent extends LegacyAuthComponent {
1718
You can’t perform that action at this time.
0 commit comments