Liking cljdoc? Tell your friends :D

saml-service-provider.core


acs-handlerclj

(acs-handler auth-fn settings)
source

authn-handlerclj

(authn-handler settings)
source

finalize-settingsclj

(finalize-settings {:keys [endpoints idp-metadata-url onelogin-settings]
                    :or {endpoints {:login "/saml/login"
                                    :authn "/saml/login"
                                    :acs "/saml/acs"
                                    :metadata "/saml/metadata"
                                    :initiate-logout "/saml/initiate-logout"
                                    :confirm-logout "/saml/confirm-logout"}}})
source

initiate-logout-handlerclj

(initiate-logout-handler settings)
source

metadata-handlerclj

(metadata-handler settings)
source

perform-logout-handlerclj

(perform-logout-handler settings)
source

wrap-require-authenticationclj

(wrap-require-authentication handler login-uri)
source

wrap-saml-authenticationclj

(wrap-saml-authentication handler
                          {:keys [auth-fn] :or {auth-fn identity} :as settings})

Wraps a ring handler with required SAML authentication.

auth-fn - an optional function to interpret the saml response data into an authenticated identity. defaults to clojure.core/identity endpoints - a map of uris for each of the saml endpoints being implemented by this middleware. idp-metadata-url - an optional url from which to access the idp metadata. if provided metadata will be accessed, parsed, and made part of the onelogin-settings for the middleware in order to configure the provider settings. at this time no attempt is made to periodically refresh the idp configuration. onelogin-settings - a map of onelogin settings used to configure the service provider (certificates, contact info, etc)

Wraps a ring handler with required SAML authentication.

auth-fn            - an optional function to interpret the saml response data into an authenticated identity.
                     defaults to clojure.core/identity
endpoints          - a map of uris for each of the saml endpoints being implemented by this middleware.
idp-metadata-url   - an optional url from which to access the idp metadata. if provided metadata will be accessed,
                     parsed, and made part of the onelogin-settings for the middleware in order to configure the
                     provider settings. at this time no attempt is made to periodically refresh the idp configuration.
onelogin-settings  - a map of onelogin settings used to configure the service provider (certificates, contact info, etc)
sourceraw docstring

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

× close