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
Shield provides 4 [Controller Filters](https://codeigniter.com/user_guide/incoming/filters.html) you can
142
-
use to protect your routes, `session`, `tokens`, and `chained`. The first two cover the `Session` and
143
-
`AccessTokens` authenticators, respectively. The `chained` filter will check both authenticators in sequence
144
-
to see if the user is logged in through either of authenticators, allowing a single API endpoint to
145
-
work for both an SPA using session auth, and a mobile app using access tokens. The fourth, `auth-rates`,
146
-
provides a good basis for rate limiting of auth-related routes.
141
+
The [Controller Filters](https://codeigniter.com/user_guide/incoming/filters.html) you can use to protect your routes the shield provides are:
142
+
143
+
Filters | Description
144
+
--- | ---
145
+
session and tokens | The `Session` and `AccessTokens` authenticators, respectively.
146
+
chained | The filter will check both authenticators in sequence to see if the user is logged in through either of authenticators, allowing a single API endpoint to work for both an SPA using session auth, and a mobile app using access tokens.
147
+
auth-rates | Provides a good basis for rate limiting of auth-related routes.
148
+
group | Checks if the user is in one of the groups passed in.
149
+
permission | Checks if the user has the passed permissions.
147
150
148
151
These filters are already loaded for you by the registrar class located at `src/Config/Registrar.php`.
0 commit comments