(idp-logout-redirect-response issuer user-email idp-url relay-state)
(idp-logout-redirect-response issuer user-email idp-url relay-state request-id)
Return Ring response for HTTP 302 redirect.
Return Ring response for HTTP 302 redirect.
(idp-redirect-response saml-request idp-url relay-state)
Return Ring response for HTTP 302 redirect.
Return Ring response for HTTP 302 redirect.
(logout-redirect-location &
{:keys [issuer user-email idp-url relay-state
request-id]})
This returns a url that you'd want to redirect a client to. Either using
ring/redirect
with a 302 status code or passing it to a client in a post body
to have them redirect to.
This returns a url that you'd want to redirect a client to. Either using `ring/redirect` with a 302 status code or passing it to a client in a post body to have them redirect to.
(make-logout-request-xml &
{:keys [request-id instant idp-url issuer user-email]
:or {instant (format-instant (t/instant))}})
Generates a SAML 2.0 logout request, as a hiccupey datastructure.
Generates a SAML 2.0 logout request, as a hiccupey datastructure.
(random-request-id)
Generates a random ID for a SAML request, if none is provided.
Generates a random ID for a SAML request, if none is provided.
(request {:keys [request-id sp-name acs-url idp-url issuer state-manager
credential instant]
:or {instant (t/instant)}})
Return XML elements that represent a SAML 2.0 auth request.
Return XML elements that represent a SAML 2.0 auth request.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close