summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorVivien Kraus <vivien@planete-kraus.eu>2020-01-01 00:00:00 +0100
committerVivien Kraus <vivien@planete-kraus.eu>2021-06-19 15:44:24 +0200
commit6bc2ce4c55af6d3f3af7be494c149cbe33d6e08e (patch)
tree5152c6bec3b1583ef123d0ef58c403831fe98792 /doc
parentfadfd29ceb64c8a60a369c0d3f225cfd0f46157b (diff)
Add a strip function
Diffstat (limited to 'doc')
-rw-r--r--doc/webid-oidc.texi15
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/webid-oidc.texi b/doc/webid-oidc.texi
index d63fc09..0a368e4 100644
--- a/doc/webid-oidc.texi
+++ b/doc/webid-oidc.texi
@@ -123,6 +123,7 @@ Return a string explaining the @var{error}. You can limit the
@menu
* Invalid data format::
+* Invalid JWT::
@end menu
@node Invalid data format
@@ -136,6 +137,20 @@ failed. @var{value} is the incorrect input, and @var{cause} is a
low-level error.
@end deftp
+@node Invalid JWT
+@section Invalid JWT
+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} &unsupported-crv @var{crv}
+The identifier @var{crv} does not identify an elliptic curve.
+@end deftp
+
+@deftp {exception type} &not-a-jwk @var{value} @var{cause}
+@var{value} does not identify a JWK.
+@end deftp
+
@node GNU Free Documentation License
@appendix GNU Free Documentation License