HTTP.basicAuthHeader.3kaya

Langue: en

Version: March 2009 (fedora - 06/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

HTTP::basicAuthHeader - Create a Basic authentication header

SYNOPSIS

Pair<String, String> basicAuthHeader( String user, String pwd )

ARGUMENTS

user The username

pwd The password

DESCRIPTION

Creates an authentication header suitable for HTTP Basic Auth. The username may not contain a ':' character. Remember that this form of authentication is very insecure, and so should only be used over secure connections.

AUTHORS

Kaya standard library by Edwin Brady, Chris Morris and others (kaya@kayalang.org). For further information see http://kayalang.org/

LICENSE

The Kaya standard library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (version 2.1 or any later version) as published by the Free Software Foundation.

HTTP.getURL(3kaya)

HTTP.postURL(3kaya)