diff options
author | Vivien Kraus <vivien@planete-kraus.eu> | 2021-09-21 15:27:56 +0200 |
---|---|---|
committer | Vivien Kraus <vivien@planete-kraus.eu> | 2021-09-21 22:31:14 +0200 |
commit | 3be4b418a4ec1e94d28401810ff8629ddc86adf9 (patch) | |
tree | 9dd3e895e87ff9ad1c875e98dcb796995315f92f /doc | |
parent | e910b3ba2ded990a5193f7ea0cfad525332e4171 (diff) |
Serialize and deserialize tokens to and from SXML
Diffstat (limited to 'doc')
-rw-r--r-- | doc/disfluid.texi | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/disfluid.texi b/doc/disfluid.texi index 0047379..42437c2 100644 --- a/doc/disfluid.texi +++ b/doc/disfluid.texi @@ -532,6 +532,17 @@ Return two alists, following the JSON representation from srfi-180: one for the header, and then one for the payload. @end deffn +A token can also be serialized as SXML. + +@deffn {Generic} ->sxml @var{token} +Convert @var{token} to an SXML representation. +@end deffn + +@deffn {function} sxml->token @var{token-class} @var{sxml} +Construct and return a token of class @var{token-class} from +@var{sxml}. +@end deffn + @deffn {Generic} lookup-keys @var{token} @var{args} Return the set of keys that could be used to sign @var{token}, as a public key, a list of keys, or a JWKS. @var{args} is a list of keyword |