Public Member Functions | List of all members
BHttpAuthentication Class Reference

Authentication token for the HTTP protocol. More...

Public Member Functions

 BHttpAuthentication ()
 Default constructor. More...
 
 BHttpAuthentication (const BString &username, const BString &password)
 Create an authentication session with the given name and password. More...
 
BString Authorization (const BUrl &url, const BString &method) const
 Generate an authentication reply for the given URL and method. More...
 
status_t Initialize (const BString &wwwAuthenticate)
 Initialize the object from the given authentication data. More...
 
BHttpAuthenticationMethod Method () const
 
const BStringPassword () const
 
void SetMethod (BHttpAuthenticationMethod type)
 Set the authentication method. More...
 
void SetPassword (const BString &password)
 Set the password. More...
 
void SetUserName (const BString &username)
 Set the user name. More...<