Skip to content

Commit 157bd45

Browse files
Meatzfabaff
authored andcommitted
Documentation for digest auth (home-assistant#781)
1 parent c674e44 commit 157bd45

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

source/_components/camera.generic.markdown

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ camera:
2727
name: my sample camera
2828
username: USERNAME
2929
password: PASSWORD
30+
authentication: basic
3031
```
3132
3233
Configuration variables:
@@ -35,3 +36,4 @@ Configuration variables:
3536
- **name** (*Optional*): This parameter allows you to override the name of your camera.
3637
- **username** (*Optional*): The username for accessing your camera.
3738
- **password** (*Optional*): The password for accessing your camera.
39+
- **authentication** (*Optional*): `basic` (default) or `digest` auth for requests.

source/_components/camera.mjpeg.markdown

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ camera:
2727
name: my sample camera
2828
username: USERNAME
2929
password: PASSWORD
30+
authentication: basic
3031
```
3132
3233
Configuration variables:
@@ -35,7 +36,8 @@ Configuration variables:
3536
- **name** (*Optional*): This parameter allows you to override the name of your camera.
3637
- **username** (*Optional*): The username for accessing your camera.
3738
- **password** (*Optional*): The password for accessing your camera.
38-
39+
- **authentication** (*Optional*): `basic` (default) or `digest` auth for requests.
40+
-
3941
<p class='note'>
4042
There is a <a href="https://github.com/shazow/urllib3/issues/800" target="_blank">known issue in urllib3</a> that you will get error messages in your logs like <code>[StartBoundaryNotFoundDefect(), MultipartInvariantViolationDefect()], unparsed data: ''</code> but the component still works fine. You can ignore the messages.
4143
</p>

0 commit comments

Comments
 (0)