Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 71 for Authenticator (0.28 sec)

  1. okhttp/src/main/kotlin/okhttp3/Authenticator.kt

      companion object {
        /** An authenticator that knows no credentials and makes no attempt to authenticate. */
        @JvmField
        val NONE: Authenticator = AuthenticatorNone()
    
        private class AuthenticatorNone : Authenticator {
          override fun authenticate(
            route: Route?,
            response: Response,
          ): Request? = null
        }
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  2. okhttp-urlconnection/src/main/kotlin/okhttp3/JavaNetAuthenticator.kt

     */
    package okhttp3
    
    import java.io.IOException
    import okhttp3.Authenticator.Companion.JAVA_NET_AUTHENTICATOR
    
    /**
     * Do not use this.
     *
     * Instead, configure your OkHttpClient.Builder to use `Authenticator.JAVA_NET_AUTHENTICATOR`:
     *
     * ```
     *   val okHttpClient = OkHttpClient.Builder()
     *     .authenticator(okhttp3.Authenticator.Companion.JAVA_NET_AUTHENTICATOR)
     *     .build()
     * ```
     */
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/fess/sso/SsoManager.java

                final SsoAuthenticator authenticator = getAuthenticator();
                if (authenticator != null) {
                    return authenticator.getLoginCredential();
                }
            }
            return null;
        }
    
        public ActionResponse getResponse(final SsoResponseType responseType) {
            if (available()) {
                final SsoAuthenticator authenticator = getAuthenticator();
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/authenticator/JavaNetAuthenticator.kt

     */
    package okhttp3.internal.authenticator
    
    import java.io.IOException
    import java.net.Authenticator
    import java.net.InetAddress
    import java.net.InetSocketAddress
    import java.net.Proxy
    import okhttp3.Credentials
    import okhttp3.Dns
    import okhttp3.HttpUrl
    import okhttp3.Request
    import okhttp3.Response
    import okhttp3.Route
    
    /**
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/JAASAuthenticator.java

    import org.slf4j.LoggerFactory;
    
    import jcifs.CIFSException;
    
    
    /**
     * JAAS kerberos authenticator
     * 
     * Either configure JAAS for credential caching or reuse a single instance of this authenticator -otherwise you won't
     * get proper ticket caching.
     * 
     * Be advised that short/NetBIOS name usage is not supported with this authenticator. Always specify full FQDNs/Realm.
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 8.1K bytes
    - Viewed (0)
  6. samples/guide/src/main/java/okhttp3/recipes/kt/Authenticate.kt

     */
    package okhttp3.recipes.kt
    
    import java.io.IOException
    import okhttp3.Authenticator
    import okhttp3.Credentials
    import okhttp3.OkHttpClient
    import okhttp3.Request
    import okhttp3.Response
    import okhttp3.Route
    
    class Authenticate {
      private val client =
        OkHttpClient.Builder()
          .authenticator(
            object : Authenticator {
              @Throws(IOException::class)
              override fun authenticate(
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

          MockResponse(body = "c"),
        )
        val authenticator =
          RecordingOkAuthenticator(
            basic("jesse", "peanutbutter"),
            "Basic",
          )
        client =
          client.newBuilder()
            .authenticator(authenticator)
            .build()
        assertContent("c", getResponse(newRequest("/a")))
        val challengeResponse = authenticator.responses[0]
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 131.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/sso/spnego/SpnegoAuthenticator.java

            if (authenticator != null && fessConfig.getSystemPropertyAsBoolean(SPNEGO_INITIALIZED, false)) {
                return authenticator;
            }
            try {
                // set some System properties
                final SpnegoFilterConfig config = SpnegoFilterConfig.getInstance(new SpengoConfig());
    
                // pre-authenticate
                authenticator = new org.codelibs.spnego.SpnegoAuthenticator(config);
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 11.2K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/internal/RecordingAuthenticator.kt

     * limitations under the License.
     */
    package okhttp3.internal
    
    import java.net.Authenticator
    import java.net.PasswordAuthentication
    
    class RecordingAuthenticator(
      private val authentication: PasswordAuthentication? =
        PasswordAuthentication(
          "username",
          "password".toCharArray(),
        ),
    ) : Authenticator() {
      val calls = mutableListOf<String>()
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  10. common-protos/k8s.io/api/authentication/v1/generated.proto

      optional k8s.io.apimachinery.pkg.apis.meta.v1.Time expirationTimestamp = 2;
    }
    
    // TokenReview attempts to authenticate a token to a known user.
    // Note: TokenReview requests may be cached by the webhook token authenticator
    // plugin in the kube-apiserver.
    message TokenReview {
      // Standard object's metadata.
      // More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#metadata
      // +optional
    Plain Text
    - Registered: Wed May 01 22:53:12 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 6.7K bytes
    - Viewed (0)
Back to top