commit 8c775a09808ce3d96f365cc23cea10fe0bf96617 parent d55012c1188c43946f50105f3dbd8076cf40ff80 Author: Martin Schanzenbach <schanzen@gnunet.org> Date: Sun, 6 Jul 2025 13:34:10 +0200 minor clarification on deprecated API Diffstat:
| M | core/api-merchant.rst | | | 11 | +++++------ |
1 file changed, 5 insertions(+), 6 deletions(-)
diff --git a/core/api-merchant.rst b/core/api-merchant.rst @@ -1175,16 +1175,15 @@ Setting up instances // "external": The mechant backend does not do // any authentication checks. Instead an API // gateway must do the authentication. - // "token": (deprecated) The merchant checks an auth token. - // See "token" for details. - // See "token" for details. - // Since **v19**: APIs use login tokens retrieved from the /private/token + // "token": The API is accessible through API tokens. + // Tokens are retrieved from the /private/token // endpoint. // See "password" for details. method: "external" | "token"; - // Deprecated: For method "token", this field is mandatory. - // The token MUST begin with the string "secret-token:". + // Deprecated: 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.