iPXE
Data Fields
http_authentication Struct Reference

An HTTP authentication scheme. More...

#include <http.h>

Data Fields

const char * name
 Name (e.g. More...
 
int(* parse )(struct http_transaction *http, char *line)
 Parse remaining "WWW-Authenticate" header line. More...
 
int(* authenticate )(struct http_transaction *http)
 Perform authentication. More...
 
int(* format )(struct http_transaction *http, char *buf, size_t len)
 Construct remaining "Authorization" header line. More...
 

Detailed Description

An HTTP authentication scheme.

Definition at line 516 of file http.h.

Field Documentation

◆ name

const char* http_authentication::name

Name (e.g.

"Digest")

Definition at line 518 of file http.h.

◆ parse

int( * http_authentication::parse) (struct http_transaction *http, char *line)

Parse remaining "WWW-Authenticate" header line.

Parameters
httpHTTP transaction
lineRemaining header line
Return values
rcReturn status code

Definition at line 525 of file http.h.

◆ authenticate

int( * http_authentication::authenticate) (struct http_transaction *http)

Perform authentication.

Parameters
httpHTTP transaction
Return values
rcReturn status code

Definition at line 531 of file http.h.

◆ format

int( * http_authentication::format) (struct http_transaction *http, char *buf, size_t len)

Construct remaining "Authorization" header line.

Parameters
httpHTTP transaction
bufBuffer
lenLength of buffer
Return values
lenHeader length if present, or negative error

Definition at line 539 of file http.h.


The documentation for this struct was generated from the following file: