Skip to content

Commit

Permalink
Syntax Corrections (2600hz#6326)
Browse files Browse the repository at this point in the history
* Syntax Corrections

Corrections for markdown, changed string for MD5, changed requirements
  • Loading branch information
JonTheWong authored Mar 23, 2020
1 parent 26a91bb commit f3ea780
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion applications/crossbar/doc/user_authentication.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ Key | Description | Type | Default | Required | Support Level
```shell
curl -v -X PUT \
-H "Content-Type: application/json" \
-d '{"data":{"credentials":"{CREDENTIALS_HASH}", "account_name":"{ACCOUNT_NAME}", "method":[md5|sha]}}' \
-d '{"data":{"credentials":"{CREDENTIALS_HASH}", "account_name":"{ACCOUNT_NAME}", "method":"[md5|sha]"}}' \
http://{SERVER}:8000/v2/user_auth
```

Expand All @@ -40,6 +40,13 @@ $ echo -n '[email protected]:m32c6NfqYEt' | md5sum
82a2dc91686ec828a67152d45a5c5ef7 -
```

#### Creating SHA1 User/Pass credentials hash

```shell
$ echo -n '[email protected]:m32c6NfqYEt' | sha1sum
055cf886cb9b5c5867083463867c527ace0f8ecc -
```

**Responses**

```json
Expand Down

0 comments on commit f3ea780

Please sign in to comment.