Embedded TCP/IP stack: fnet_http_auth.h Source File

FNET

fnet_http_auth.h
1 /**************************************************************************
2 *
3 * Copyright 2011-2017 by Andrey Butok. FNET Community.
4 * Copyright 2008-2010 by Andrey Butok. Freescale Semiconductor, Inc.
5 *
6 ***************************************************************************
7 *
8 * Licensed under the Apache License, Version 2.0 (the "License"); you may
9 * not use this file except in compliance with the License.
10 * You may obtain a copy of the License at
11 *
12 * http://www.apache.org/licenses/LICENSE-2.0
13 *
14 * Unless required by applicable law or agreed to in writing, software
15 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
16 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17 * See the License for the specific language governing permissions and
18 * limitations under the License.
19 *
20 ***************************************************************************
21 *
22 * FNET HTTP Server Authentication API.
23 *
24 ***************************************************************************/
25 
26 #ifndef _FNET_HTTP_AUTH_H_
27 
28 #define _FNET_HTTP_AUTH_H_
29 
30 #if (FNET_CFG_HTTP && FNET_CFG_HTTP_AUTHENTICATION_BASIC && FNET_CFG_HTTP_VERSION_MAJOR) || defined(__DOXYGEN__)
31 
35 /**************************************************************************/
39 typedef enum
40 {
48 
49 
50 /**************************************************************************/
66 {
75 };
76 
79 #endif /* FNET_CFG_HTTP && FNET_CFG_HTTP_AUTHENTICATION_BASIC */
80 
81 #endif
fnet_char_t * password
Required password to access this directory.
fnet_char_t * userid
Required user name to access this directory.
Basic Access Authentication Scheme.
No authentication.
Digest Access Authentication Scheme (NOT YET IMPLEMENTED).
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 * dir_name
Name of the directory to protect.
fnet_http_auth_scheme_t scheme
Used Authentication Scheme.
fnet_http_auth_scheme_t
Type of Authentication Scheme.
char fnet_char_t
Type representing the charecter.
Definition: fnet_stdlib.h:76
HTTP Authentication table.

© 2005-2018 by Andrey Butok. http://fnet.sourceforge.net