- Notifications
You must be signed in to change notification settings - Fork2
duct-framework/middleware.buddy
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
ADuct library that provides keys for (some)Buddy middleware.
To install, add the following to your project:dependencies
:
[duct/middleware.buddy "0.2.0"]
This library currently only supports twoIntegrant keys:
This keyword wraps thebuddy.auth.middleware/wrap-authenticationfunction. The authentication backend is denoted by a keyword on the:backend
key:
{:duct.middleware.buddy/authentication {:backend:basic:realm"Example":authfn #ig/ref:example.auth/basic-auth}:example.auth/basic-auth {}}
This keyword wraps thebuddy.auth.middleware/wrap-authorization function.The authorization backend is denoted by a keyword on the:backend
key:
{:duct.middleware.buddy/authorization {:backend:basic:realm"Example":authfn #ig/ref:example.auth/basic-auth}:example.auth/basic-auth {}}
Five backends are supported:
:basic
:session
:token
:jws
:jwe
These are covered in more detail in thebuddy-authdocumentation.
Copyright © 2017 James Reeves
Distributed under the Eclipse Public License either version 1.0 or (atyour option) any later version.
About
Integrant keys for Buddy middleware
Topics
Resources
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Contributors3
Uh oh!
There was an error while loading.Please reload this page.