forked from k2n/saml20-clj
-
Notifications
You must be signed in to change notification settings - Fork 11
/
core.clj
55 lines (47 loc) · 1.18 KB
/
core.clj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
(ns saml20-clj.core
"Main interface for saml20-clj SP functionality. The core functionality is broken out into several separate
namespaces, but vars are made available here via Potemkin."
(:require [potemkin :as p]
[saml20-clj.coerce :as coerce]
[saml20-clj.crypto :as crypto]
[saml20-clj.encode-decode :as encode]
[saml20-clj.sp.metadata :as metadata]
[saml20-clj.sp.request :as request]
[saml20-clj.sp.response :as response]
[saml20-clj.state :as state]))
;; this is so the linter doesn't complain about unused namespaces.
(comment
coerce/keep-me
crypto/keep-me
encode/keep-me
metadata/keep-me
request/keep-me
response/keep-me
state/keep-me)
(p/import-vars
[coerce
->X509Certificate
->Response
->xml-string]
[crypto
has-private-key?]
[encode
str->base64
base64->str]
[metadata
metadata]
[request
idp-redirect-response
request
logout-redirect-location
idp-logout-redirect-response
make-logout-request-xml]
[response
decrypt-response
assertions
default-validation-options
validate]
[state
record-request!
accept-response!
in-memory-state-manager])