forked from 2600hz/kazoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Syntax Corrections Corrections for markdown, changed string for MD5, changed requirements
- Loading branch information
1 parent
26a91bb
commit f3ea780
Showing
1 changed file
with
8 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 | ||
``` | ||
|
||
|
@@ -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 | ||
|