Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for AuthType (0.23 sec)

  1. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/InsecureExtendedTrustManager.kt

      override fun checkServerTrusted(
        chain: Array<out X509Certificate>,
        authType: String,
        socket: Socket,
      ) {
        if (socket.peerName() !in insecureHosts) {
          delegate.checkServerTrusted(chain, authType, socket)
        }
      }
    
      override fun checkServerTrusted(
        chain: Array<out X509Certificate>,
        authType: String,
        engine: SSLEngine,
      ) {
        if (engine.peerHost !in insecureHosts) {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/InsecureAndroidTrustManager.kt

      fun checkServerTrusted(
        chain: Array<out X509Certificate>,
        authType: String,
        host: String,
      ): List<Certificate> {
        if (host in insecureHosts) return listOf()
        try {
          val method =
            checkServerTrustedMethod
              ?: throw CertificateException("Failed to call checkServerTrusted")
          return method.invoke(delegate, chain, authType, host) as List<Certificate>
        } catch (e: InvocationTargetException) {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  3. cmd/bucket-policy.go

    		}
    	}
    
    	authType := getRequestAuthType(r)
    	var signatureVersion string
    	switch authType {
    	case authTypeSignedV2, authTypePresignedV2:
    		signatureVersion = signV2Algorithm
    	case authTypeSigned, authTypePresigned, authTypeStreamingSigned, authTypePostPolicy:
    		signatureVersion = signV4Algorithm
    	}
    
    	var authtype string
    	switch authType {
    	case authTypePresignedV2, authTypePresigned:
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 8K bytes
    - Viewed (0)
  4. cmd/metrics-router.go

    func registerMetricsRouter(router *mux.Router) {
    	// metrics router
    	metricsRouter := router.NewRoute().PathPrefix(minioReservedBucketPath).Subrouter()
    	authType := prometheusAuthType(strings.ToLower(env.Get(EnvPrometheusAuthType, string(prometheusJWT))))
    
    	auth := AuthMiddleware
    	if authType == prometheusPublic {
    		auth = NoAuthMiddleware
    	}
    	metricsRouter.Handle(prometheusMetricsPathLegacy, auth(metricsHandler()))
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  5. security/pkg/server/ca/authenticate/cert_authenticator_test.go

    	"google.golang.org/grpc/peer"
    
    	"istio.io/istio/pkg/security"
    	"istio.io/istio/security/pkg/pki/util"
    )
    
    type mockAuthInfo struct {
    	authType string
    }
    
    func (ai mockAuthInfo) AuthType() string {
    	return ai.authType
    }
    
    func TestAuthenticate_clientCertAuthenticator(t *testing.T) {
    	callerID := "test.identity"
    	ids := []util.Identity{
    		{Type: util.TypeURI, Value: []byte(callerID)},
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jan 05 01:20:59 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  6. cmd/auth-handler.go

    }
    
    // Authorization type.
    //
    //go:generate stringer -type=authType -trimprefix=authType $GOFILE
    type authType int
    
    // List of all supported auth types.
    const (
    	authTypeUnknown authType = iota
    	authTypeAnonymous
    	authTypePresigned
    	authTypePresignedV2
    	authTypePostPolicy
    	authTypeStreamingSigned
    	authTypeSigned
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 26K bytes
    - Viewed (0)
  7. .teamcity/src/main/kotlin/configurations/GradleBuildConfigurationDefaults.kt

        }
    }
    
    fun BuildFeatures.enablePullRequestFeature() {
        pullRequests {
            vcsRootExtId = VersionedSettingsBranch.fromDslContext().vcsRootId()
            provider = github {
                authType = token {
                    token = "%github.bot-teamcity.token%"
                }
                filterAuthorRole = PullRequests.GitHubRoleFilter.EVERYBODY
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jun 03 03:39:03 UTC 2024
    - 8K bytes
    - Viewed (0)
  8. okcurl/src/main/kotlin/okhttp3/curl/Main.kt

          object : X509TrustManager {
            override fun checkClientTrusted(
              chain: Array<X509Certificate>,
              authType: String,
            ) {}
    
            override fun checkServerTrusted(
              chain: Array<X509Certificate>,
              authType: String,
            ) {}
    
            override fun getAcceptedIssuers(): Array<X509Certificate> = arrayOf()
          }
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  9. security/pkg/server/ca/server_test.go

    		AuthSource:     authn.authSource,
    		Identities:     authn.identities,
    		KubernetesInfo: authn.kubernetesInfo,
    	}, nil
    }
    
    type mockAuthInfo struct {
    	authType string
    }
    
    func (ai mockAuthInfo) AuthType() string {
    	return ai.authType
    }
    
    /*
    This is a testing to send a request to the server using
    the client cert authenticator instead of mock authenticator
    */
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Feb 28 16:41:38 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  10. android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt

          object : X509TrustManager {
            override fun checkClientTrusted(
              chain: Array<out X509Certificate>?,
              authType: String?,
            ) {}
    
            override fun checkServerTrusted(
              chain: Array<out X509Certificate>?,
              authType: String?,
            ) {}
    
            override fun getAcceptedIssuers(): Array<X509Certificate> = arrayOf()
          }
    
        val sslContext =
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 27K bytes
    - Viewed (0)
Back to top