GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  KHTTPBASIC_VALIDATE (3)

NAME

khttpbasic_validate - validate an HTTP basic authorisation request

CONTENTS

Library
Synopsis
Description
Return Values
See Also
Authors

LIBRARY


.Lb libkcgi

SYNOPSIS


.In stdint.h
.In kcgi.h int
.Fo khttpbasic_validate struct kreq *req const char *user const char *password
.Fc

DESCRIPTION

The khttpbasic_validate function validates the given user and password with the HTTP basic-authorised request req as returned by khttp_parse(3) or khttp_fcgi_parse(3).

RETURN VALUES

khttpbasic_validate will return zero if validation failed, less than zero if the request was not properly set up for HTTP basic validation, or greater than zero if the validation succeeded.

SEE ALSO

kcgi(3), khttp_fcgi_parse(3), khttp_parse(3), khttpdigest_validate

AUTHORS

The khttpbasic_validate function was written by
.An Kristaps Dzonsons Aq Mt kristaps@bsd.lv .
Search for    or go to Top of page |  Section 3 |  Main Index


Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.