Buddy-auth Api Documentation

Version: 2.2.0

buddy.auth.backends

basic

(basic)(basic opts)

Create an instance of the http-basic based authentication backend.

This backend also implements authorization workflow with some defaults. This means that you can provide your own unauthorized-handler hook if the default one does not satisfy you.

http-basic

Alias for basic.

jwe

(jwe)(jwe opts)

Create an instance of the jwe (encrypted JWT based authentication backend.

This backend also implements authorization workflow with some defaults. This means that you can provide your own unauthorized-handler hook if the default one does not satisfy you.

jws

(jws)(jws opts)

Create an instance of the jws (signed JWT) based authentication backend.

This backend also implements authorization workflow with some defaults. This means that you can provide your own unauthorized-handler hook if the default one does not satisfy you.

session

(session)(session opts)

Create an instance of the http session based authentication backend.

This backend also implements authorization workflow with some defaults. This means that you can provide your own unauthorized-handler hook if the default one does not satisfy you.

token

(token)(token opts)

Create an instance of the generic token based authentication backend.

This backend also implements authorization workflow with some defaults. This means that you can provide your own unauthorized-handler hook if the default one does not satisfy you.