Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Integrant keys for Buddy middleware

NotificationsYou must be signed in to change notification settings

duct-framework/middleware.buddy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

ADuct library that provides keys for (some)Buddy middleware.

Installation

To install, add the following to your project:dependencies:

[duct/middleware.buddy "0.2.0"]

Usage

This library currently only supports twoIntegrant keys:

:duct.middleware.buddy/authentication

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 {}}

:duct.middleware.buddy/authorization

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.

License

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

Stars

Watchers

Forks

Packages

No packages published

Contributors3

  •  
  •  
  •  

Languages


[8]ページ先頭

©2009-2025 Movatter.jp