You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/customization.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,10 @@
1
1
# Customizing Shield
2
2
3
+
-[Customizing Shield](#customizing-shield)
4
+
-[Route Configuration](#route-configuration)
5
+
-[Custom Redirect URLs](#custom-redirect-urls)
6
+
-[Extending the Controllers](#extending-the-controllers)
7
+
3
8
## Route Configuration
4
9
5
10
If you need to customize how any of the auth features are handled, you will likely need to update the routes to point to the correct controllers. You can still use the `service('auth')->routes()` helper, but you will need to pass the `except` option with a list of routes to customize:
These instructions assume that you have already [installed the CodeIgniter 4 app starter](https://codeigniter.com/user_guide/installation/installing_composer.html) as the basis for your new project, set up your `.env` file, and created a database that you can access via the Spark CLI script.
4
13
5
14
Installation is done through [Composer](https://getcomposer.org). The example assumes you have it installed globally.
Copy file name to clipboardExpand all lines: docs/quickstart.md
+21Lines changed: 21 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,27 @@ Learning any new authentication system can be difficult, especially as they get
4
4
5
5
NOTE: The examples assume that you have run the setup script and that you have copies of the `Auth` and `AuthGroups` config files in your application's `app/Config` folder.
-[Enable Account Activation via Email](#enable-account-activation-via-email)
16
+
-[Authorization Flow](#authorization-flow)
17
+
-[Change Available Groups](#change-available-groups)
18
+
-[Set the Default Group](#set-the-default-group)
19
+
-[Change Available Permissions](#change-available-permissions)
20
+
-[Assign Permissions to a Group](#assign-permissions-to-a-group)
21
+
-[Assign Permissions to a User](#assign-permissions-to-a-user)
22
+
-[Check If a User Has Permission](#check-if-a-user-has-permission)
23
+
-[Managing Users](#managing-users)
24
+
-[Creating Users](#creating-users)
25
+
-[Deleting Users](#deleting-users)
26
+
-[Editing A User](#editing-a-user)
27
+
7
28
## Authentication Flow
8
29
9
30
If you need everyone to redirect to a single URL after login/logout/register actions, you can modify the `Config\Auth::redirects` array to specify the url to redirect to.
0 commit comments