- Sort Score
- Num 10 results
- Language All
Results 141 - 150 of 318 for Authorization (0.07 seconds)
-
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultUpdateCheckManager.java
} buffer.append(proxy.getHost()).append(':').append(proxy.getPort()).append('>'); } // consider the username&password because a repo manager might block artifacts depending on authorization Authentication auth = repository.getAuthentication(); if (auth != null) { int hash = (auth.getUsername() + auth.getPassword()).hashCode(); buffer.append(hash).append('@');Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Dec 16 13:41:14 GMT 2025 - 9.4K bytes - Click Count (0) -
internal/config/dns/operator_dns.go
Subject: config.EnvDNSWebhook, } token := jwt.NewWithClaims(jwt.SigningMethodHS512, claims) ss, err := token.SignedString([]byte(c.password)) if err != nil { return err } r.Header.Set("Authorization", "Bearer "+ss) return nil } func (c *OperatorDNS) endpoint(bucket string, del bool) (string, error) { u, err := url.Parse(c.Endpoint) if err != nil { return "", err } q := u.Query()
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon Nov 11 14:51:43 GMT 2024 - 6.6K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/storage/ApiAdminStorageAction.java
throwValidationErrorApi(messages -> messages.addErrorsFailedToDeleteFile(GLOBAL, pi.getName())); } return null; } // curl -XPOST -H "Authorization: CHANGEME" localhost:8080/api/admin/storage/upload/ -F path=/ -F file=@... // PUT /api/admin/storage/upload/{pathId}/ /** * Uploads a file to storage.
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 6.9K bytes - Click Count (0) -
docs/zh-hant/docs/tutorial/security/index.md
OpenAPI 提供定義多種安全性「方案」。 透過使用它們,你可以善用這些基於標準的工具,包括這些互動式文件系統。 OpenAPI 定義了下列安全性方案: * `apiKey`:應用程式特定的金鑰,來源可以是: * 查詢參數。 * 標頭(header)。 * Cookie。 * `http`:標準的 HTTP 驗證系統,包括: * `bearer`:使用 `Authorization` 標頭,值為 `Bearer ` 加上一個 token。這是從 OAuth2 延伸而來。 * HTTP Basic 驗證。 * HTTP Digest 等。 * `oauth2`:所有 OAuth2 的安全性處理方式(稱為「flows」)。 * 其中數個 flow 適合用來建立 OAuth 2.0 身分驗證提供者(如 Google、Facebook、X(Twitter)、GitHub 等):Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Feb 14 08:15:26 GMT 2026 - 4.1K bytes - Click Count (0) -
src/test/java/org/codelibs/curl/CurlRequestTest.java
CurlRequest request = new CurlRequest(Method.POST, "https://example.com"); // Add multiple headers request.header("Accept", "application/json").header("Content-Type", "application/json").header("Authorization", "Bearer token123") .header("X-Custom-Header", "custom-value"); assertNotNull(request); } @Test public void testGzipSetsCompressionToGzip() {
Created: Thu Apr 02 15:34:12 GMT 2026 - Last Modified: Sat Mar 21 09:11:12 GMT 2026 - 24.7K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/base/FessAdminAction.java
import jakarta.servlet.ServletContext; /** * Base action class for admin pages in Fess. * <p> * This abstract class provides common functionality for all admin actions, * including authentication, authorization, and HTML data setup. * </p> * */ public abstract class FessAdminAction extends FessBaseAction { /** Constant suffix for view names. */ public static final String VIEW = "-view"; /**Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Thu Mar 19 13:57:12 GMT 2026 - 10.9K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Response.kt
* non-null. The body of the returned response should not be read. */ @get:JvmName("cacheResponse") val cacheResponse: Response?, /** * Returns the response for the HTTP redirect or authorization challenge that triggered this * response, or null if this response wasn't triggered by an automatic retry. The body of the * returned response should not be read because it has already been consumed by the redirectingCreated: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Jul 28 14:39:28 GMT 2025 - 18.1K bytes - Click Count (0) -
src/main/java/jcifs/SmbException.java
PERMANENT, // Operation cannot succeed FATAL // Connection or session must be terminated } /** * Error categories */ public enum Category { AUTHENTICATION, AUTHORIZATION, NETWORK, PROTOCOL, RESOURCE, CONFIGURATION, ENCRYPTION, TIMEOUT, IO, UNKNOWN } private final int errorCode; private final Severity severity; private final Category category;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 6.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/helper/CurlHelper.java
final String value = username + ":" + password; final String basicAuth = "Basic " + java.util.Base64.getEncoder().encodeToString(value.getBytes(StandardCharsets.UTF_8)); request.header("Authorization", basicAuth); } if (sslSocketFactory != null) { request.sslSocketFactory(sslSocketFactory); } return request; }Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 6.1K bytes - Click Count (0) -
build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/DependenciesGraphTask.java
try (CloseableHttpClient client = HttpClients.createDefault()) { HttpPost postRequest = new HttpPost(url); postRequest.addHeader("Authorization", "token " + token); postRequest.addHeader("Content-Type", "application/json"); postRequest.setEntity(new StringEntity(output.toString()));
Created: Wed Apr 08 16:19:15 GMT 2026 - Last Modified: Tue Jun 01 09:19:30 GMT 2021 - 6.3K bytes - Click Count (0)