- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for authenticate (0.11 sec)
-
okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt
@ArgumentsSource(ProtocolParamProvider::class) fun authenticate( protocol: Protocol, mockWebServer: MockWebServer, ) { setUp(protocol, mockWebServer) server.enqueue( MockResponse( code = HttpURLConnection.HTTP_UNAUTHORIZED, headers = headersOf("www-authenticate", "Basic realm=\"protected area\""), body = "Please authenticate.", ), ) server.enqueue(
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Apr 11 22:09:35 UTC 2024 - 75.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/api/json/SearchApiManager.java
} } final HttpServletResponse response = LaResponseUtil.getResponse(); if (t instanceof final InvalidAccessTokenException e) { response.setHeader("WWW-Authenticate", "Bearer error=\"" + e.getType() + "\""); writeJsonResponse(HttpServletResponse.SC_UNAUTHORIZED, message); } else { writeJsonResponse(status, message); } }
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sat Oct 12 01:54:46 UTC 2024 - 50.3K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/EventListenerTest.kt
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 56.9K bytes - Viewed (2) -
docs/changelogs/changelog_3x.md
ones that are no longer necessary. * **OkHttp no longer uses the global `java.net.Authenticator` by default.** We've changed our `Authenticator` interface to authenticate web and proxy authentication failures through a single method. An adapter for the old authenticator is available in the `okhttp-urlconnection` module.
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Feb 06 14:55:54 UTC 2022 - 50.8K bytes - Viewed (0) -
okhttp/api/okhttp.api
} public abstract interface class okhttp3/Authenticator { public static final field Companion Lokhttp3/Authenticator$Companion; public static final field JAVA_NET_AUTHENTICATOR Lokhttp3/Authenticator; public static final field NONE Lokhttp3/Authenticator; public abstract fun authenticate (Lokhttp3/Route;Lokhttp3/Response;)Lokhttp3/Request; } public final class okhttp3/Authenticator$Companion { }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Apr 15 13:41:01 UTC 2024 - 70.2K bytes - Viewed (0) -
cmd/peer-rest-server.go
} } } func (s *peerRESTServer) writeErrorResponse(w http.ResponseWriter, err error) { w.WriteHeader(http.StatusForbidden) w.Write([]byte(err.Error())) } // IsValid - To authenticate and verify the time difference. func (s *peerRESTServer) IsValid(w http.ResponseWriter, r *http.Request) bool { if err := storageServerRequestValidate(r); err != nil { s.writeErrorResponse(w, err) return false
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Oct 04 11:32:32 UTC 2024 - 53.2K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt
} /** * Sets the authenticator used to respond to challenges from origin servers. Use * [proxyAuthenticator] to set the authenticator for proxy servers. * * If unset, the [no authentication will be attempted][Authenticator.NONE]. */ fun authenticator(authenticator: Authenticator) = apply { this.authenticator = authenticator }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Apr 06 04:21:33 UTC 2024 - 52K bytes - Viewed (0) -
src/main/java/jcifs/smb/SmbSessionImpl.java
} } } } @Override @SuppressWarnings ( "unchecked" ) public void reauthenticate () throws CIFSException { try ( SmbTransportImpl trans = getTransport() ) { reauthenticate(trans, this.targetDomain, null, null, Collections.EMPTY_SET); } } /** * @param trans * @param andx
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Sun Nov 14 17:41:04 UTC 2021 - 49K bytes - Viewed (0) -
.teamcity/.mvn/wrapper/maven-wrapper.jar
package org.apache.maven.wrapper; synchronized class DefaultDownloader$1 extends java.net.Authenticator { void DefaultDownloader$1(DefaultDownloader); protected java.net.PasswordAuthenticati getPasswordAuthentic(); } org/apache/maven/wrapper/DefaultDownloader$SystemPropertiesProx.class package org.apache.maven.wrapper; synchronized class DefaultDownloader$SystemPropertiesProx extends java.net.Authenticator { private void DefaultDownloader$SystemPropertiesProx(); protected java.net.PasswordAuthenticati...
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Feb 26 01:48:39 UTC 2020 - 49.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/mylasta/direction/FessProp.java
proxy = new Proxy(Type.HTTP, addr); if (StringUtil.isNotBlank(getHttpProxyUsername())) { Authenticator.setDefault(new Authenticator() { @Override protected PasswordAuthentication getPasswordAuthentication() {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Sat Oct 12 01:54:15 UTC 2024 - 87.2K bytes - Viewed (0)