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.
raw docstring

authenticated?clj

(authenticated? request)

Checks if the given request is authenticated.

Checks if the given request is authenticated.
raw docstring

authorized?clj

(authorized? request required-roles)

Checks if an authenticated request has required roles.

Checks if an authenticated request has required roles.
raw docstring

get-identityclj

(get-identity request)

Returns the identity associated with the given request.

Returns the identity associated with the given request.
raw docstring

logoutclj

(logout response)

Cleans up the given response of identity information.

Cleans up the given response of identity information.
raw 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.
raw docstring

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

× close