From 37c019d143a70bc6261eb8addcb24550b829e9bb Mon Sep 17 00:00:00 2001 From: Vivien Kraus Date: Sun, 6 Dec 2020 18:57:33 +0100 Subject: Add a function to fetch linked data. --- doc/webid-oidc.texi | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) (limited to 'doc') 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} ¬-json @var{value} @var{cause} +Cannot decode @var{value} to a JSON object. +@end deftp + +@deftp {exception type} ¬-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} ¬-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 -- cgit v1.2.3