diff options
author | Vivien Kraus <vivien@planete-kraus.eu> | 2021-08-17 07:44:20 +0200 |
---|---|---|
committer | Vivien Kraus <vivien@planete-kraus.eu> | 2021-09-13 20:18:04 +0200 |
commit | 67eaa758f8b86353920c4b7cbb66cbb9b4fd6e7c (patch) | |
tree | 6e963338eb558489bb4a734dd8da02602bd82974 /doc | |
parent | c4325da48fa86b6555062395870f29a7f9f67813 (diff) |
Don’t save an account if it does not have a subject
I added a function to log in for the first time, so that we don’t have
to store an account for which we know we will need to jump through the
authorization endpoint hoops.
Diffstat (limited to 'doc')
-rw-r--r-- | doc/disfluid.texi | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/doc/disfluid.texi b/doc/disfluid.texi index 4e120f8..c884acf 100644 --- a/doc/disfluid.texi +++ b/doc/disfluid.texi @@ -1029,6 +1029,11 @@ Constructor, predicate and accessors for the @code{<client>} record type. @end deffn +@deffn function initial-login @var{client} @var{issuer} [#:@var{http-request}=@code{http-request}] +Create an account by logging in with just the @var{issuer}, and save +the created account. +@end deffn + @deffn function request @var{client} @var{subject} @var{issuer} [#:@var{http-request}=@code{http-request}] Log in with @var{subject} (optional, may be @code{#f}) and @var{issuer}, and return a function that takes a request and request |