Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jio-main
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Hardik Juneja
jio-main
Commits
e2fee8eb
Commit
e2fee8eb
authored
Mar 04, 2014
by
Tristan Cavelier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
DavStorage documentation updated
parent
8e55feab
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
8 deletions
+19
-8
docs/available_storages.rst
docs/available_storages.rst
+19
-8
No files found.
docs/available_storages.rst
View file @
e2fee8eb
...
@@ -61,14 +61,6 @@ NB: digest **is not implemented yet**.
...
@@ -61,14 +61,6 @@ NB: digest **is not implemented yet**.
dav_storage.createDescription(url, auth_type,
dav_storage.createDescription(url, auth_type,
[realm], [username], [password]);
[realm], [username], [password]);
// or
{
"type": "dav",
"url": url,
"auth_type": "basic",
"username": "my user name",
"password": "my password"
}
All parameters are strings.
All parameters are strings.
...
@@ -84,6 +76,25 @@ parameter required?
...
@@ -84,6 +76,25 @@ parameter required?
If ``auth_type`` is the string ``"none"``, then ``realm``, ``username`` and ``password`` are never used.
If ``auth_type`` is the string ``"none"``, then ``realm``, ``username`` and ``password`` are never used.
Descriptions:
.. code-block:: javascript
// No authentication
{
"type": "dav",
"url": url
}
// Basic authentication
{
"type": "dav",
"url": "url,
"basic_login": btoa(username + ":" + password)
}
// Digest authentication is not implemented
**Be careful**: The generated description never contains a readable password, but
**Be careful**: The generated description never contains a readable password, but
for basic authentication, the password will just be base64 encoded.
for basic authentication, the password will just be base64 encoded.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment