From 6bc2ce4c55af6d3f3af7be494c149cbe33d6e08e Mon Sep 17 00:00:00 2001 From: Vivien Kraus Date: Wed, 1 Jan 2020 00:00:00 +0100 Subject: Add a strip function --- doc/webid-oidc.texi | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'doc') 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} ¬-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 -- cgit v1.2.3