pull/73/head
Piero Toffanin 2019-01-04 13:29:53 -05:00
rodzic 858d62e042
commit 02cf251b02
3 zmienionych plików z 4 dodań i 4 usunięć

Wyświetl plik

@ -64,10 +64,10 @@ Retrieves login information for this node.
[options="header", cols=".^3,.^11,.^4"] [options="header", cols=".^3,.^11,.^4"]
|=== |===
|Name|Description|Schema |Name|Description|Schema
|*instructions* +
_optional_|Message to be displayed to the user prior to login/registration. This might include instructions on how to register or login, or to communicate that authentication is not available.|string
|*loginUrl* + |*loginUrl* +
_required_|URL (absolute or relative) where to make a POST request to obtain a token, or null if login is disabled.|string _required_|URL (absolute or relative) where to make a POST request to obtain a token, or null if login is disabled.|string
|*message* +
_required_|Message to be displayed to the user prior to login/registration. This might include instructions on how to register or login, or to communicate that authentication is not available.|string
|*registerUrl* + |*registerUrl* +
_required_|URL (absolute or relative) where to make a POST request to register a user, or null if registration is disabled.|string _required_|URL (absolute or relative) where to make a POST request to register a user, or null if registration is disabled.|string
|=== |===

File diff suppressed because one or more lines are too long

Wyświetl plik

@ -741,7 +741,7 @@ app.get('/info', authCheck, (req, res) => {
* type: object * type: object
* required: [message, loginUrl, registerUrl] * required: [message, loginUrl, registerUrl]
* properties: * properties:
* instructions: * message:
* type: string * type: string
* description: Message to be displayed to the user prior to login/registration. This might include instructions on how to register or login, or to communicate that authentication is not available. * description: Message to be displayed to the user prior to login/registration. This might include instructions on how to register or login, or to communicate that authentication is not available.
* loginUrl: * loginUrl: