summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorVivien Kraus <vivien@planete-kraus.eu>2020-12-06 18:57:33 +0100
committerVivien Kraus <vivien@planete-kraus.eu>2021-06-19 15:44:36 +0200
commit37c019d143a70bc6261eb8addcb24550b829e9bb (patch)
tree3caf5c2e17e8c0a8f0e0d1bc3c75c01166606a21 /doc
parent0dfaa2a0a9f9772557b06ca7542d4c1b915d7b0c (diff)
Add a function to fetch linked data.
Diffstat (limited to 'doc')
-rw-r--r--doc/webid-oidc.texi16
1 files changed, 12 insertions, 4 deletions
diff --git a/doc/webid-oidc.texi b/doc/webid-oidc.texi
index 0fa9a42..dc83ecc 100644
--- a/doc/webid-oidc.texi
+++ b/doc/webid-oidc.texi
@@ -331,6 +331,14 @@ failed. @var{value} is the incorrect input, and @var{cause} is a
low-level error.
@end deftp
+@deftp {exception type} &not-json @var{value} @var{cause}
+Cannot decode @var{value} to a JSON object.
+@end deftp
+
+@deftp {exception type} &not-turtle @var{value} @var{cause}
+Cannot decode @var{value} to a RDF graph.
+@end deftp
+
@deftp {exception type} &incorrect-webid-field @var{value}
The @var{value} of the webid field in the JWT is missing (if
@code{#f}), or not an acceptable value.
@@ -388,10 +396,6 @@ Each JWT type – access token, DPoP proof, ID token, authorization code
(this is internal to the identity provider) has different validation
rules, and can fail in different ways.
-@deftp {exception type} &not-json @var{value} @var{cause}
-Cannot decode @var{value} to a JSON object.
-@end deftp
-
@deftp {exception type} &unsupported-crv @var{crv}
The identifier @var{crv} does not identify an elliptic curve.
@end deftp
@@ -525,6 +529,10 @@ It is impossible to fetch the configuration of @var{issuer}.
It is impossible to fetch the keys of @var{issuer} at @var{uri}.
@end deftp
+@deftp {exception type} &cannot-fetch-linked-data @var{uri} @var{cause}
+Could not fetch the graph referenced by @var{uri}.
+@end deftp
+
@node Other errors in the protocol or from a reasonable implementation
@section Other errors in the protocol or from a reasonable implementation
The protocol does not rely solely on JWT validation, so these errors