Liking cljdoc? Tell your friends :D

geheimtur.util.auth

Namespace that holds authentication/authorization related functions.

Namespace that holds authentication/authorization related functions.
raw docstring

authenticateclj

(authenticate r identity)

Authenticates the given request/response.

Authenticates the given request/response.
sourceraw docstring

authenticated?clj

(authenticated? request)

Checks if the given request is authenticated.

Checks if the given request is authenticated.
sourceraw docstring

authorized?clj

(authorized? request required-roles)

Checks if an authenticated request has required roles.

Checks if an authenticated request has required roles.
sourceraw docstring

get-identityclj

(get-identity request)

Returns the identity associated with the given request.

Returns the identity associated with the given request.
sourceraw docstring

logoutclj

(logout response)

Cleans up the given response of identity information.

Cleans up the given response of identity information.
sourceraw docstring

throw-forbiddenclj

(throw-forbidden info)

Throws the access forbbidden exception with [info] content. Default error type :unauthenticated.

Throws the access forbbidden exception with [info] content.
Default error type :unauthenticated.
sourceraw docstring

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

× close