Searched refs:authentication (Results 1 - 12 of 12) sorted by relevance

/haiku/src/kits/network/libnetservices/
H A DUrlContext.cpp35 // This is the default authentication, used when nothing else is found.
65 const BHttpAuthentication& authentication)
76 *previous = authentication;
79 = new(std::nothrow) BHttpAuthentication(authentication);
121 BHttpAuthentication* authentication = NULL; local
124 authentication = fAuthenticationMap->Get( HashString(domain.String(),
129 } while (authentication == NULL);
131 return *authentication;
64 AddAuthentication(const BUrl& url, const BHttpAuthentication& authentication) argument
H A DHttpRequest.cpp499 BHttpAuthentication* authentication local
503 if (authentication->Method() == B_HTTP_AUTHENTICATION_NONE) {
504 // There is no authentication context for this
510 // Get the copy of the authentication we just added.
513 authentication = &fContext->GetAuthentication(fUrl);
526 authentication->SetUserName(fOptUsername);
527 authentication->SetPassword(fOptPassword);
1009 BHttpAuthentication& authentication = fContext->GetAuthentication(fUrl); local
1010 if (authentication.Method() != B_HTTP_AUTHENTICATION_NONE) {
1012 authentication
[all...]
/haiku/src/add-ons/kernel/file_systems/netfs/authentication_server/
H A DAuthenticationServer.cpp150 Authentication* authentication = fAuthentications.Get(share); local
151 if (authentication)
152 return authentication->SetTo(user, password);
154 authentication = new(std::nothrow) Authentication;
155 if (!authentication)
157 status_t error = authentication->SetTo(user, password);
159 error = fAuthentications.Put(share, authentication);
161 delete authentication;
370 If share is NULL, the default authentication for the server is returned.
385 // get the authentication
386 const Authentication* authentication = NULL; local
[all...]
/haiku/headers/private/netservices/
H A DUrlContext.h31 const BHttpAuthentication& authentication);
/haiku/src/kits/network/libnetservices2/
H A DHttpRequest.cpp169 std::optional<BHttpAuthentication> authentication; member in struct:BHttpRequest::Data
180 \brief Build basic authentication header
229 if (fData && fData->authentication)
230 return std::addressof(*fData->authentication);
299 BHttpRequest::SetAuthentication(const BHttpAuthentication& authentication) argument
304 fData->authentication = authentication;
417 fData->authentication = std::nullopt;
502 if (fData->authentication) {
505 fData->authentication
[all...]
/haiku/src/add-ons/network_settings/dialup/
H A DGeneralAddon.cpp149 BMessage authentication, item; local
163 authentication.AddString(kGeneralTabAuthenticators, name);
167 fSettings->AddMessage(kGeneralTabAuthentication, &authentication);
239 BMessage authentication; local
240 if(fSettings->FindMessage(kGeneralTabAuthentication, &authentication) != B_OK) {
247 if(authentication.FindString(kGeneralTabAuthenticators,
444 BMessage authentication; local
446 &authentication) == B_OK)
447 authentication.FindString(kGeneralTabAuthenticators, &authenticator);
/haiku/headers/os/bluetooth/
H A DLocalDevice.h42 status_t SetAuthentication(bool authentication);
/haiku/src/kits/network/libnetapi/
H A DNetworkSettings.cpp99 {B_STRING_TYPE, "authentication", NULL},
725 uint32 authentication = 0; local
726 result = message.FindUInt32("authentication_mode", &authentication);
731 switch (authentication) {
747 message.AddString("authentication", authenticationString);
797 const char* authentication = NULL; local
798 if (message.FindString("authentication", &authentication) == B_OK) {
799 message.RemoveName("authentication");
801 if (strcasecmp(authentication, "non
[all...]
/haiku/headers/private/netservices2/
H A DHttpRequest.h111 void SetAuthentication(const BHttpAuthentication& authentication);
/haiku/src/kits/bluetooth/
H A DLocalDevice.cpp221 LocalDevice::SetAuthentication(bool authentication) argument
224 (OGF_CONTROL_BASEBAND, OCF_WRITE_AUTH_ENABLE, authentication,
/haiku/src/apps/haikudepot/server/
H A DWebAppInterface.cpp375 /*! When an authentication API call is made, the response (if successful) will
1024 BHttpAuthentication authentication; local
1025 authentication.SetMethod(B_HTTP_AUTHENTICATION_BEARER);
1026 authentication.SetToken(accessToken.Token());
1027 context.AddAuthentication(url, authentication);
/haiku/headers/os/bluetooth/HCI/
H A DbtHCI_command.h138 uint8 authentication; member in struct:hci_write_authentication_enable

Completed in 67 milliseconds