-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
41009c7
commit abcd2ed
Showing
16 changed files
with
2,630 additions
and
1,676 deletions.
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 |
---|---|---|
@@ -1 +1 @@ | ||
v16 | ||
v18 |
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
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
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 |
---|---|---|
|
@@ -116,3 +116,24 @@ const fn1 = (params: { a?: number; b?: number }) => { | |
}; | ||
const fn2 = defaultParam(fn1, { b: 10 }); | ||
``` | ||
|
||
### digest auth and custom auth | ||
|
||
for digest auth, you need to handle the auth process yourself, pass the final digest string like | ||
|
||
``` | ||
username="Mufasa", | ||
realm="[email protected]", | ||
nonce="dcd98b7102dd2f0e8b11d0f600bfb0c093", | ||
uri="/dir/index.html", | ||
qop=auth, | ||
nc=00000001, | ||
cnonce="0a4f113b", | ||
response="6629fae49393a05397450978507c4ef1", | ||
opaque="5ccc069c403ebaf9f0171e9517f40e41 | ||
``` | ||
|
||
as `digestString` param in DAVCredentials | ||
|
||
for custom auth, you can pass additional data via `customData` prop to DAVCredentials, | ||
you can pass in your custom auth function as `authFunction` param and will have DAVCredentials available to it. |
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
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
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
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
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
Oops, something went wrong.