SWRU368C May 2018 – January 2021 CC3100 , CC3100MOD , CC3200 , CC3200MOD
Functions used to set or get the authentication name, password, and realm.
Function name | Description | Parameters |
---|---|---|
| Sets authentication name. Name format is string. | appId = SL_NET_APP_HTTP_SERVER_ID Option = NETAPP_SET_GET_HTTP_OPT_AUTH_NAME OptionLen = authentication name length pOptionValue = pointer to authentication name |
| Gets current authentication name. Name format is string (not null terminated). | appId = SL_NET_APP_HTTP_SERVER_ID Option = NETAPP_SET_GET_HTTP_OPT_AUTH_NAME pOptionLen = user-supplied pointer for the returned name len pOptionValue = user-supplied pointer for the returned name |
Function name | Description | Parameters |
---|---|---|
| Sets authentication password. Password format is string. | appId = SL_NET_APP_HTTP_SERVER_ID Option = NETAPP_SET_GET_HTTP_OPT_AUTH_PASSWORD OptionLen = authentication password length pOptionValue = pointer to authentication password |
| Gets current authentication password. Password format is string (not null terminated). | appId = SL_NET_APP_HTTP_SERVER_ID Option = NETAPP_SET_GET_HTTP_OPT_AUTH_PASSWORD pOptionLen = user-supplied pointer for the returned password len pOptionValue = user-supplied pointer for the returned password |
Function name | Description | Parameters |
---|---|---|
| Sets authentication realm. Realm format is string. | appId = SL_NET_APP_HTTP_SERVER_ID Option = NETAPP_SET_GET_HTTP_OPT_AUTH_REALM OptionLen = authentication realm length pOptionValue = pointer to authentication realm |
| Gets current authentication realm. Realm format is string (not null terminated). | appId = SL_NET_APP_HTTP_SERVER_ID Option = NETAPP_SET_GET_HTTP_OPT_AUTH_REALM pOptionLen = user-supplied pointer for the returned realm len pOptionValue = user-supplied pointer for the returned realm |