From 05a761cfdf9a5d79e6a74991e799e06c890adec3 Mon Sep 17 00:00:00 2001 From: Falk Werner Date: Sat, 27 Apr 2019 09:39:41 +0200 Subject: [PATCH] fixes some style issues --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 0f99607..f656bde 100644 --- a/README.md +++ b/README.md @@ -213,7 +213,7 @@ Get file attributes. #### readdir Read directory contents. -Result is an array of name-inode pairs for each entry. The generic entries +Result is an array of name-inode pairs for each entry. The generic entries "." and ".." should also be provided. webfuse daemon: {"method": "readdir", "params": [, ], "id": } @@ -332,7 +332,7 @@ If authentication is enabled, a provider must be authenticated by the adapter be ## Authentication -By default, webfuse daemon will redirect each filesystem call to the first connected provider without any authentication. +By default, webfuse daemon will redirect each filesystem call to the first connected provider without any authentication. This might be good for testing purposes or when an external authentication mechanism is used. In some use cases, explicit authentication is needed. Therefore, authentication can be enabled within webfuse daemon. When authentication is enabled, filesystem calls are only redirected to a connected provider, after `authenticate` @@ -352,7 +352,7 @@ Authentication is enabled, if one or more authenticators are registered via `wf_ return ((NULL != username) && (0 == strcmp(username, "bob")) && (NULL != password) && (0 == strcmp(password, "???"))); } - + wf_server_config * config = wf_server_config_create(); wf_server_config_add_authenticator(config, "username", &authenticate, NULL);