commit 2f5f1537f1d7ade6ce41796116cdaee47c5322df parent 8d7b4ecb5ad96a3599ff3c70f8865f4078075e03 Author: Marcello Stanisci <marcello.stanisci@inria.fr> Date: Thu, 4 May 2017 10:41:51 +0200 adding missing information for bank's /history Diffstat:
| M | api/api-bank.rst | | | 22 | +++++++++++++++++++--- |
1 file changed, 19 insertions(+), 3 deletions(-)
diff --git a/api/api-bank.rst b/api/api-bank.rst @@ -84,17 +84,33 @@ request. interface BankAuth { - // authentication type. Accepted values are: - // "basic", "digest", "token". + // authentication type. At this stage of development, + // only value "basic" is accepted in this field. Further + // methods as "digest" and "token" are scheduled for future + // releases. type: string; // Optional object containing data consistent with the // used authentication type. - data: Object; + data: BasicAuth; } +.. _BasicAuth: +.. code-block:: tsref + + interface BasicAuth { + + // username identifying the caller at the bank + username: string; + + // username's associated password + password: string; + + } + + .. _BankError: .. code-block:: tsref