summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorVivien Kraus <vivien@planete-kraus.eu>2021-09-09 23:25:58 +0200
committerVivien Kraus <vivien@planete-kraus.eu>2021-09-13 20:30:18 +0200
commit6a83b79c4de5986ad61a552c2612b7cce0105cda (patch)
tree8704d7b7bf2af24fab416a45ca8567148a558d05 /doc
parent9b6c36923f3ac4a2bd8f2a70ca679bc7374aef56 (diff)
Client: use http-request instead of http-get and http-post
Diffstat (limited to 'doc')
-rw-r--r--doc/disfluid.texi12
1 files changed, 7 insertions, 5 deletions
diff --git a/doc/disfluid.texi b/doc/disfluid.texi
index c884acf..04e69af 100644
--- a/doc/disfluid.texi
+++ b/doc/disfluid.texi
@@ -932,7 +932,7 @@ webid and the webid issuer. If you don’t know the user, and the user
is eligible to your service, then you will only know the identity
provider (issuer), because that’s what the user typed in.
-@deffn function login @var{subject} @var{issuer} [#:@var{http-get}=@code{http-get}] [#:@var{http-post}=@code{http-post}] [#:@var{state}=@code{#f}] #:@var{client-id} #:@var{client-key} #:@var{redirect-uri}
+@deffn function login @var{subject} @var{issuer} [#:@var{http-request}=@code{http-request}] [#:@var{state}=@code{#f}] #:@var{client-id} #:@var{client-key} #:@var{redirect-uri}
Return a new account with an ID token and an access
token. @var{subject} is optional.
@@ -1029,15 +1029,17 @@ 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}]
+@deffn function initial-login @var{client} @var{issuer} [#:@var{http-request}]
Create an account by logging in with just the @var{issuer}, and save
-the created account.
+the created account. The default @var{http-request} uses the cache for
+GET requests.
@end deffn
-@deffn function request @var{client} @var{subject} @var{issuer} [#:@var{http-request}=@code{http-request}]
+@deffn function request @var{client} @var{subject} @var{issuer} [#:@var{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
-body and transfers it, signed, to the @var{http-request} back-end.
+body and transfers it, signed, to the @var{http-request} back-end. By
+default, it uses the cache for GET requests.
@end deffn
@deffn function serve-application @var{id} @var{redirect-uri} @var{[#client-name]} @var{[#client-uri]}