AuthorizationOptions structure
Contains information about the way the client should authorize itself.Syntax
typedef struct AuthorizationOptions{
int flags;
int reserved;
char *realm;
char *domain;
char *nonce;
char *opaque;
char *algorithm;
} AuthorizationOptions;
Members
flags This parameter can be zero or a combination of the following values.
Value | Meaning |
AF_BASIC_AUTHENTICATION 0x0 | The client should authorize itself through a basic authentication challenge.
|
AF_DIGEST_AUTHENTICATION 0x1 | The client should authorize itself through a digest authentication challenge.
|
AF_QOP_AUTH 0x0 | Set the qop attribute to "auth".
|
AF_QOP_AUTH_INT 0x2 | Set the qop attribute to "auth-int".
|
AF_STALE_DONT_SEND 0x0 | Don't set the stale attribute.
|
AF_STALE_TRUE 0x4 | Set the stale attribute to "True".
|
AF_STALE_FALSE 0x8 | Set the stale attribute to "False".
|
reserved This value is here for C compatibility (padding) and is ignored.
realm A pointer to a null-terminated string containing the realm name. With this name you identify yourself to the client.
domain A pointer to a null-terminated string conaining the domain where the client should identify itself to.
nonce A pointer to a null-terminated string containing the nonce value.
opaque A pointer to a null-terminated string containing the opaque value.
algorithm A pointer to a null-terminated string containing the algorithm value. This default is MD5 and is used if this value is set to zero.
Requirements
Minimum supported API | 1.00
|
Header | tvs_server_http_protocol.h
|