- Sort Score
- Num 10 results
- Language All
Results 91 - 100 of 226 for Authenticate (0.06 seconds)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/authenticator/JavaNetAuthenticator.kt
*/ class JavaNetAuthenticator( private val defaultDns: Dns = Dns.SYSTEM, ) : okhttp3.Authenticator { @Throws(IOException::class) override fun authenticate( route: Route?, response: Response, ): Request? { val challenges = response.challenges() val request = response.request val url = request.url val proxyAuthorization = response.code == 407
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 3.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/general/EditForm.java
*/ @Size(max = 10) public String appendQueryParameter; /** * Enable or disable login requirement for search access. * When enabled, users must authenticate before performing searches. */ @Size(max = 10) public String loginRequired; /** * Enable or disable result collapsing for similar documents.Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Sat Dec 13 02:21:17 GMT 2025 - 10.6K bytes - Click Count (0) -
ci/official/envs/rbe
else # The volume mapping flag below shares the user's gcloud credentials, if any, # with the container, in case the user has credentials stored there. # This would allow Bazel to authenticate for RBE. # Note: TF's CI does not have any credentials stored there. TFCI_DOCKER_ARGS="$TFCI_DOCKER_ARGS -v $HOME/.config/gcloud:/root/.config/gcloud"
Created: Tue Dec 30 12:39:10 GMT 2025 - Last Modified: Fri Aug 09 16:05:18 GMT 2024 - 2.7K bytes - Click Count (0) -
docs/sts/web-identity.py
'sts', region_name='us-east-1', use_ssl=False, endpoint_url='http://localhost:9000', ) app = Flask(__name__) @app.route('/') def homepage(): text = '<a href="%s">Authenticate with keycloak</a>' return text % make_authorization_url() def make_authorization_url(): # Generate a random string for the state parameter # Save it for use later to prevent xsrf attacks
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Jul 28 01:37:51 GMT 2021 - 2.9K bytes - Click Count (0) -
tests/test_security_oauth2.py
def test_security_oauth2_password_bearer_no_header(): response = client.get("/users/me") assert response.status_code == 401, response.text assert response.json() == {"detail": "Not authenticated"} assert response.headers["WWW-Authenticate"] == "Bearer" def test_strict_login_no_data(): response = client.post("/login") assert response.status_code == 422 assert response.json() == { "detail": [
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 9K bytes - Click Count (0) -
src/test/java/jcifs/http/NtlmHttpURLConnectionTest.java
// Full NTLM handshake testing would require more complex mocking // Arrange - Mock a server that supports NTLM mockResponse(HTTP_UNAUTHORIZED, "Unauthorized", Collections.singletonMap("WWW-Authenticate", Collections.singletonList("NTLM")), new ByteArrayInputStream(new byte[0])); // Act - Trigger handshake int responseCode = ntlmConnection.getResponseCode();Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 12.6K bytes - Click Count (0) -
docs/en/docs/how-to/custom-docs-ui-assets.md
/// tip The *path operation* for `swagger_ui_redirect` is a helper for when you use OAuth2. If you integrate your API with an OAuth2 provider, you will be able to authenticate and come back to the API docs with the acquired credentials. And interact with it using the real OAuth2 authentication. Swagger UI will handle it behind the scenes for you, but it needs this "redirect" helper. ///
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 7.8K bytes - Click Count (0) -
docs/zh/docs/tutorial/security/simple-oauth2.md
因此,在端点中,只有当用户存在、通过身份验证、且状态为激活时,才能获得该用户: {* ../../docs_src/security/tutorial003.py hl[58:67,69:72,90] *} /// info | 说明 此处返回值为 `Bearer` 的响应头 `WWW-Authenticate` 也是规范的一部分。 任何 401**UNAUTHORIZED**HTTP(错误)状态码都应返回 `WWW-Authenticate` 响应头。 本例中,因为使用的是 Bearer Token,该响应头的值应为 `Bearer`。 实际上,忽略这个附加响应头,也不会有什么问题。 之所以在此提供这个附加响应头,是为了符合规范的要求。 说不定什么时候,就有工具用得上它,而且,开发者或用户也可能用得上。 这就是遵循标准的好处……Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 18 02:25:44 GMT 2024 - 8.6K bytes - Click Count (0) -
docs/sts/custom-token-identity.go
fmt.Println("AccessKeyID:", v.AccessKeyID) fmt.Println("SecretAccessKey:", v.SecretAccessKey) fmt.Println("SessionToken:", v.SessionToken) return } // Use generated credentials to authenticate with MinIO server stsEndpointURL, err := url.Parse(stsEndpoint) if err != nil { log.Fatalf("Error parsing sts endpoint: %v", err) } copts := &minio.Options{ Creds: li,
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri May 27 00:58:09 GMT 2022 - 3.4K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt
throw ProtocolException("Received HTTP_PROXY_AUTH (407) code while not using proxy") } return client.proxyAuthenticator.authenticate(route, userResponse) } HTTP_UNAUTHORIZED -> return client.authenticator.authenticate(route, userResponse) HTTP_PERM_REDIRECT, HTTP_TEMP_REDIRECT, HTTP_MULT_CHOICE, HTTP_MOVED_PERM, HTTP_MOVED_TEMP, HTTP_SEE_OTHER -> {
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue May 27 14:58:02 GMT 2025 - 12.4K bytes - Click Count (0)