commit 694a5074b0a4005086513175e10226f29d570151
parent 6040544c6f1d4769f7fd3880b0ee52aa22c6eecd
Author: Martin Schanzenbach <schanzen@gnunet.org>
Date: Sun, 6 Jul 2025 15:28:12 +0200
more clarifications
Diffstat:
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/core/api-merchant.rst b/core/api-merchant.rst
@@ -1192,12 +1192,12 @@ Setting up instances
// @deprecated v19: For method "token", this field is mandatory,
// unless the new "password" field is used.
// The value of this field MUST begin with the string "secret-token:".
- // After the auth token has been set (with method "token"),
- // the value must be provided in a "Authorization: Bearer $token"
- // header.
+ // The backend behaviour is the same as if the "password" field were
+ // used without the "secret-token:" prefix.
token?: string;
- // @since v19: For method "token", this field is mandatory.
+ // @since v19: For method "token", this field is mandatory,
+ // unless the deprecated "token" field is used.
// Authentication against the /private/token endpoint
// is done using basic authentication with the configured password
// in the "password" field. Tokens are passed to other endpoints for