• About TV's server
  • New in version 3.20
  • New in version 3.10
  • About the source code
  • About protocols/plugins
  • TV's server API
  • Protocol Initialisation
  • Protocol binding
  • Protocol Listening and handling
  • Protocol data storage
  • Control panel
  • Multi column list
  • Time and date
  • Http protocol functions
  • Unimplemented and/or replaced functions
  • 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
    ValueMeaning
    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".

    reservedrealmdomainnonceopaquealgorithm

    Requirements

    Minimum supported API 1.00
    Header tvs_server_http_protocol.h