Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 160 of 251 for authorization (0.12 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

    import org.apache.maven.wagon.Wagon;
    import org.apache.maven.wagon.authentication.AuthenticationException;
    import org.apache.maven.wagon.authentication.AuthenticationInfo;
    import org.apache.maven.wagon.authorization.AuthorizationException;
    import org.apache.maven.wagon.events.TransferListener;
    import org.apache.maven.wagon.observers.ChecksumObserver;
    import org.apache.maven.wagon.proxy.ProxyInfo;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 29.9K bytes
    - Viewed (0)
  2. okhttp/src/main/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 redirecting
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jul 06 09:38:30 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  3. cmd/test-utils_test.go

    //	    modify the user-agent.
    //
    //	Authorization:
    //
    //	    Is skipped for obvious reasons
    var ignoredHeaders = map[string]bool{
    	"Authorization": true,
    	"User-Agent":    true,
    }
    
    // Headers to ignore in streaming v4
    var ignoredStreamingHeaders = map[string]bool{
    	"Authorization": true,
    	"Content-Type":  true,
    	"Content-Md5":   true,
    	"User-Agent":    true,
    }
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 01 22:13:18 UTC 2024
    - 77K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

        assertThat(response.body.string()).isEqualTo("Successful auth!")
        val denied = server.takeRequest()
        assertThat(denied.headers["Authorization"]).isNull()
        val accepted = server.takeRequest()
        assertThat(accepted.requestLine).isEqualTo("GET / HTTP/1.1")
        assertThat(accepted.headers["Authorization"]).isEqualTo(credential)
      }
    
      @ParameterizedTest
      @ArgumentsSource(ProtocolParamProvider::class)
      fun redirect(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 75.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/http/NtlmServlet.java

            Address dc;
            boolean offerBasic = this.enableBasic && ( this.insecureBasic || request.isSecure() );
            String msg = request.getHeader("Authorization");
            if ( msg != null && ( msg.startsWith("NTLM ") || ( offerBasic && msg.startsWith("Basic ") ) ) ) {
                if ( this.loadBalance ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 7.6K bytes
    - Viewed (0)
  6. mockwebserver/README.md

      // Optional: confirm that your app made the HTTP requests you were expecting.
      RecordedRequest request1 = server.takeRequest();
      assertEquals("/v1/chat/messages/", request1.getPath());
      assertNotNull(request1.getHeader("Authorization"));
    
      RecordedRequest request2 = server.takeRequest();
      assertEquals("/v1/chat/messages/2", request2.getPath());
    
      RecordedRequest request3 = server.takeRequest();
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Dec 17 15:34:10 UTC 2023
    - 5K bytes
    - Viewed (0)
  7. cmd/signature-v4-parser_test.go

    		// Test case - 2.
    		// Test case with no sign v4 Algorithm prefix.
    		// A valid authorization string should begin(prefix)
    		{
    			inputV4AuthStr:    "no-singv4AlgorithmPrefix",
    			expectedAuthField: signValues{},
    			expectedErrCode:   ErrSignatureVersionNotSupported,
    		},
    		// Test case - 3.
    		// Test case with missing fields.
    		// A valid authorization string should have 3 fields.
    		{
    			inputV4AuthStr:    signV4Algorithm,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Feb 22 06:26:06 UTC 2024
    - 27.4K bytes
    - Viewed (0)
  8. docs/zh/docs/tutorial/security/index.md

    通过使用它们,你可以利用所有这些基于标准的工具,包括这些交互式文档系统。
    
    OpenAPI 定义了以下安全方案:
    
    * `apiKey`:一个特定于应用程序的密钥,可以来自:
        * 查询参数。
        * 请求头。
        * cookie。
    * `http`:标准的 HTTP 身份认证系统,包括:
        * `bearer`: 一个值为 `Bearer` 加令牌字符串的 `Authorization` 请求头。这是从 OAuth2 继承的。
        * HTTP Basic 认证方式。
        * HTTP Digest,等等。
    * `oauth2`:所有的 OAuth2 处理安全性的方式(称为「流程」)。
        *以下几种流程适合构建 OAuth 2.0 身份认证的提供者(例如 Google,Facebook,Twitter,GitHub 等):
            * `implicit`
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt

        // is potentially annoying to the application layer since they have no
        // way to retain them.
        if (!userResponse.request.url.canReuseConnectionFor(url)) {
          requestBuilder.removeHeader("Authorization")
        }
    
        return requestBuilder.url(url).build()
      }
    
      private fun retryAfter(
        userResponse: Response,
        defaultDelay: Int,
      ): Int {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 15 13:24:48 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  10. cmd/kms-handlers.go

    	if err != nil {
    		writeCustomErrorResponseJSON(ctx, w, errorCodes.ToAPIErr(ErrInternalError), err.Error(), r.URL)
    		return
    	}
    	writeSuccessResponseJSON(w, resp)
    }
    
    // checkKMSActionAllowed checks for authorization for a specific action on a resource.
    func checkKMSActionAllowed(r *http.Request, owner bool, cred auth.Credentials, action policy.KMSAction, resource string) bool {
    	return globalIAMSys.IsAllowed(policy.Args{
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Aug 18 06:43:03 UTC 2024
    - 10.1K bytes
    - Viewed (0)
Back to top