summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorVivien Kraus <vivien@planete-kraus.eu>2020-12-01 19:46:24 +0100
committerVivien Kraus <vivien@planete-kraus.eu>2021-06-19 15:44:36 +0200
commitdf646a0cc8f1fefd7204e08eb6754c5a85cd022a (patch)
treeb27f95b7ecf50bbf6544491fefc39f973c3c6c0a /doc
parent197da00a94a2fecee59c5d7a090316e9dd82fe90 (diff)
Add an authorization code data structure
Diffstat (limited to 'doc')
-rw-r--r--doc/webid-oidc.texi26
1 files changed, 26 insertions, 0 deletions
diff --git a/doc/webid-oidc.texi b/doc/webid-oidc.texi
index 9f456f3..f8e4208 100644
--- a/doc/webid-oidc.texi
+++ b/doc/webid-oidc.texi
@@ -512,6 +512,27 @@ The @var{value} string is not an encoding of a valid DPoP proof.
The @var{dpop-proof} cannot be signed.
@end deftp
+@deftp {exception type} &not-an-authorization-code @var{value} @var{cause}
+The @var{value} is not an authorization code.
+@end deftp
+
+@deftp {exception type} &not-an-authorization-code-header @var{value} @var{cause}
+The @var{value} is not an authorization code header.
+@end deftp
+
+@deftp {exception type} &not-an-authorization-code-payload @var{value} @var{cause}
+The @var{value} is not an authorization code payload.
+@end deftp
+
+@deftp {exception type} &cannot-decode-authorization-code @var{value} @var{cause}
+The @var{value} string is not an encoding of a valid authorization
+code.
+@end deftp
+
+@deftp {exception type} &cannot-encode-authorization-code @var{authorization-code} @var{key} @var{cause}
+The @var{authorization-code} cannot be signed.
+@end deftp
+
@node Cannot fetch data on the web
@section Cannot fetch data on the web
In the client (local and public parts), resource server and identity
@@ -603,6 +624,11 @@ The client @var{manifest} is being fetched at @var{id}, but it is
valid for another client @var{advertised-id}.
@end deftp
+@deftp {exception type} &authorization-code-expired @var{exp} @var{current-time}
+The authorization code has expired at @var{exp}, it is now
+@var{current-time}.
+@end deftp
+
@node GNU Free Documentation License
@appendix GNU Free Documentation License