Embedded TCP/IP stack  4.7.0
fnet_http_srv_auth.h
1 /**************************************************************************
2 *
3 * Copyright 2008-2018 by Andrey Butok. FNET Community.
4 *
5 ***************************************************************************
6 *
7 * Licensed under the Apache License, Version 2.0 (the "License"); you may
8 * not use this file except in compliance with the License.
9 * You may obtain a copy of the License at
10 *
11 * http://www.apache.org/licenses/LICENSE-2.0
12 *
13 * Unless required by applicable law or agreed to in writing, software
14 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
15 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16 * See the License for the specific language governing permissions and
17 * limitations under the License.
18 *
19 ***************************************************************************
20 *
21 * FNET HTTP Server Authentication API.
22 *
23 ***************************************************************************/
24 
25 #ifndef _FNET_HTTP_SRV_AUTH_H_
26 
27 #define _FNET_HTTP_SRV_AUTH_H_
28 
29 #if (FNET_CFG_HTTP_SRV && FNET_CFG_HTTP_SRV_AUTHENTICATION_BASIC && FNET_CFG_HTTP_SRV_VERSION_MAJOR) || defined(__DOXYGEN__)
30 
34 /**************************************************************************/
38 typedef enum
39 {
47 
48 
49 /**************************************************************************/
64 typedef struct
65 {
75 
78 #endif /* FNET_CFG_HTTP_SRV && FNET_CFG_HTTP_SRV_AUTHENTICATION_BASIC */
79 
80 #endif
fnet_char_t * realm
Name of realm. A realm can be seen as an area for which the credentials are used. This is also the st...
fnet_char_t * password
Required password to access this directory.
Digest Access Authentication Scheme (NOT YET IMPLEMENTED).
fnet_http_srv_auth_scheme_t
Type of Authentication Scheme.
HTTP Authentication table.
fnet_http_srv_auth_scheme_t scheme
Used Authentication Scheme.
fnet_char_t * dir_name
Name of the directory to protect. To protect all directories, set it to "".
char fnet_char_t
Type representing the charecter.
Definition: fnet_stdlib.h:75
Basic Access Authentication Scheme.
fnet_char_t * userid
Required user name to access this directory.

© 2005-2020 by Andrej Butok. http://fnet.sourceforge.net