Liking cljdoc? Tell your friends :D

reverie.auth


*extended*clj

Extended data

Extended data
raw docstring

extend!clj

(extend! k v)

Extend extensions to User record

Extend extensions to User record
raw docstring

get-idclj

(get-id)

IAuthorizecljprotocol

add-authorization!clj

(add-authorization! what database role action)

authorize?clj

(authorize? what user database action)

remove-authorization!clj

(remove-authorization! what database role action)

IUserAddcljprotocol

add-user!clj

(add-user! data roles groups db)

IUserDatabasecljprotocol

get-userclj

(get-user db)
(get-user db id-or-email)

Get user by session or by id/email

Get user by session or by id/email

get-usersclj

(get-users db)

Get all users

Get all users

IUserLogincljprotocol

loginclj

(login data db)

IUserTokencljprotocol

enable-tokenclj

(enable-token id db)
(enable-token id minutes db)

expired-token?clj

(expired-token? id db)

retire-tokenclj

(retire-token id db)

IUserUpdatecljprotocol

set-password!clj

(set-password! user new-password db)

update!clj

(update! user data db)

logged-in?clj

(logged-in?)

logoutclj

(logout)

retract!clj

(retract! k)

Rectract extensions to User record

Rectract extensions to User record
raw docstring

role?cljmultimethod


with-accesscljmacro

(with-access user required-roles & body)

with-authorizecljmacro

(with-authorize user action required-roles & body)

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close