mirror of
https://github.com/openfaas/faas.git
synced 2025-06-16 12:16:47 +00:00
This plugin can be tested as a stand-alone Golang app, or deployed as a Docker image with the following image: openfaas/basic-auth-plugin:0.1.0 Signed-off-by: Alex Ellis <alexellis2@gmail.com>
14 lines
454 B
Markdown
14 lines
454 B
Markdown
auth plugins
|
|
============
|
|
|
|
Auth plugins must implement request checking on a HTTP port and path such as `:8080/validate`.
|
|
|
|
* Valid requests: return 2xx
|
|
* Invalid requests: return non 2xx
|
|
|
|
It is up to the developer to pick whether a request body is required for validation. For strategies such as [Basic Authentication](https://en.wikipedia.org/wiki/Basic_access_authentication), headers are sufficient.
|
|
|
|
Plugins available:
|
|
|
|
* [basic-auth](./basic-auth/)
|