Skip to content

Commit 8d949b7

Browse files
committed
Docs.
1 parent f1c6cb2 commit 8d949b7

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

Diff for: docs/AuthenticationPlugin.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,4 @@ $middlewareQueue->add(new AuthenticationMiddleware($this));
2020

2121
For all the rest just follow the plugin's documentation.
2222

23-
Then you use the [Authentication documention](Authentication.md) to fill your INI config file.
23+
Then you use the [Authentication documentation](Authentication.md) to fill your INI config file.

Diff for: docs/AuthorizationPlugin.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -50,4 +50,4 @@ public function getAuthorizationService(ServerRequestInterface $request, Respons
5050
}
5151
```
5252

53-
Then you use the [Authorization documention](Authorization.md) to set up roles and fill your INI config file.
53+
Then you use the [Authorization documentation](Authorization.md) to set up roles and fill your INI config file.

Diff for: docs/README.md

+9
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,15 @@ See the docs for details:
8181

8282
Note: Those are *beta* - not fully tested/functional.
8383

84+
### When to use the new plugins?
85+
They are super powerful, but they also require a load of config to get them to run.
86+
If you need authentication/authorization on middleware/routing level however, you need
87+
to use them.
88+
89+
If you only need the basic request policy provided by this plugin, and no further ORM or other policies,
90+
then it is best to stick to the Auth component as simple wrapper.
91+
It is then limited to controller scope (no middleware/routing support) as it always has been so far.
92+
8493
## Contributing
8594
Feel free to fork and pull request.
8695

0 commit comments

Comments
 (0)