This is the openid-key Reference Manual, version 0.1.1, generated automatically by Declt version 4.0 beta 2 "William Riker" on Sun Sep 15 06:16:22 2024 GMT+0.
The main system appears first, followed by any subsystem dependency.
openid-key
Get OpenID keys from issuer.
Koga Kazuo
MIT
# Openid-Key
You can get public key of OpenID Connect [id-token][id-token].
Then, you can verify id-token with the key.
OpedID Key format has defined in [JSON Web Key (JWK)][JWK].
## Usage
“‘
CL-USER> (setf *keys* (openid-key:get-openid-keys "https://accounts.google.com"))
#S(OPENID-KEY::OPENID-KEYS
:ISSUER "https://accounts.google.com"
:JWKS-EXPIRES @2018-11-03T20:03:46.000000+09:00
:KEYS (#S(OPENID-KEY::OPENID-KEY
:KTY "RSA"
:USE "sig"
:ALG "RS256"
:KID "8289d54280b76712de41cd2ef95972b123be9ac0"
:KEY #<IRONCLAD::RSA-PUBLIC-KEY {1001EE03A3}>)
#S(OPENID-KEY::OPENID-KEY
:KTY "RSA"
:USE "sig"
:ALG "RS256"
:KID "aa436c3f63b281ce0d976da0b51a34860ff960eb"
:KEY #<IRONCLAD::RSA-PUBLIC-KEY {1001F40433}>)))
CL-USER> (openid-key:find-openid-key "8289d54280b76712de41cd2ef95972b123be9ac0" *keys*)
#<IRONCLAD::RSA-PUBLIC-KEY {1001B512E3}>
"RS256"
"RSA"
"sig"
“‘
You may also be interested in [Jose][Jose] for verify [id-token][id-token].
## Installation
[Jose]: http://quickdocs.org/jose/
[JWK]: https://tools.ietf.org/html/rfc7517
[id-token]: https://openid.net/specs/openid-connect-core-1_0.html
0.1.1
cl-base64
(system).
dexador
(system).
ironclad
(system).
jonathan
(system).
local-time
(system).
quri
(system).
trivial-rfc-1123
(system).
src
(module).
Modules are listed depth-first from the system components tree.
openid-key/src
openid-key
(system).
openid-key.lisp
(file).
Files are sorted by type and then listed depth-first from the systems components trees.
openid-key/src/openid-key.lisp
src
(module).
find-openid-key
(function).
get-openid-keys
(function).
openid-keys
(structure).
b64-integer
(function).
config-endpoint
(function).
copy-openid-key
(function).
copy-openid-keys
(function).
get-expires
(function).
issuer-endpoint
(function).
jwk-key
(function).
make-openid-key
(function).
make-openid-keys
(function).
openid-key
(structure).
openid-key-alg
(reader).
(setf openid-key-alg)
(writer).
openid-key-key
(reader).
(setf openid-key-key)
(writer).
openid-key-kid
(reader).
(setf openid-key-kid)
(writer).
openid-key-kty
(reader).
(setf openid-key-kty)
(writer).
openid-key-p
(function).
openid-key-use
(reader).
(setf openid-key-use)
(writer).
openid-keys-issuer
(reader).
(setf openid-keys-issuer)
(writer).
openid-keys-jwks-expires
(reader).
(setf openid-keys-jwks-expires)
(writer).
openid-keys-keys
(reader).
(setf openid-keys-keys)
(writer).
openid-keys-p
(function).
Packages are listed by definition order.
openid-key
common-lisp
.
find-openid-key
(function).
get-openid-keys
(function).
openid-keys
(structure).
b64-integer
(function).
config-endpoint
(function).
copy-openid-key
(function).
copy-openid-keys
(function).
get-expires
(function).
issuer-endpoint
(function).
jwk-key
(function).
make-openid-key
(function).
make-openid-keys
(function).
openid-key
(structure).
openid-key-alg
(reader).
(setf openid-key-alg)
(writer).
openid-key-key
(reader).
(setf openid-key-key)
(writer).
openid-key-kid
(reader).
(setf openid-key-kid)
(writer).
openid-key-kty
(reader).
(setf openid-key-kty)
(writer).
openid-key-p
(function).
openid-key-use
(reader).
(setf openid-key-use)
(writer).
openid-keys-issuer
(reader).
(setf openid-keys-issuer)
(writer).
openid-keys-jwks-expires
(reader).
(setf openid-keys-jwks-expires)
(writer).
openid-keys-keys
(reader).
(setf openid-keys-keys)
(writer).
openid-keys-p
(function).
Definitions are sorted by export status, category, package, and then by lexicographic order.
Find key by key id from keys, or nil
Get JWKs from ISSUER, or nil
CACHED-KEYS — an openid-keys for previous returned value, or nil. PROXY — a string for HTTP request proxy uri, or nil.
alg
.
key
.
kid
.
kty
.
use
.
keys
.
Jump to: | (
B C F G I J M O |
---|
Jump to: | (
B C F G I J M O |
---|
Jump to: | A I J K S U |
---|
Jump to: | A I J K S U |
---|
Jump to: | F M O P S |
---|
Jump to: | F M O P S |
---|