Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 1,392 for Bearer (0.19 sec)

  1. cmd/metrics.go

    		if err != nil {
    			if len(mfs) == 0 {
    				writeErrorResponseJSON(r.Context(), w, toAdminAPIErr(r.Context(), err), r.URL)
    				return
    			}
    		}
    
    		contentType := expfmt.Negotiate(r.Header)
    		w.Header().Set("Content-Type", string(contentType))
    
    		enc := expfmt.NewEncoder(w, contentType)
    		for _, mf := range mfs {
    			if err := enc.Encode(mf); err != nil {
    				// client may disconnect for any reasons
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 02 06:48:36 GMT 2024
    - 16.9K bytes
    - Viewed (0)
  2. cmd/batch-expire.go

    	if r.NotificationCfg.Endpoint == "" {
    		return nil
    	}
    
    	ctx, cancel := context.WithTimeout(ctx, 10*time.Second)
    	defer cancel()
    
    	req, err := http.NewRequestWithContext(ctx, http.MethodPost, r.NotificationCfg.Endpoint, body)
    	if err != nil {
    		return err
    	}
    
    	if r.NotificationCfg.Token != "" {
    		req.Header.Set("Authorization", r.NotificationCfg.Token)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 21K bytes
    - Viewed (1)
  3. docs/em/docs/tutorial/security/oauth2-jwt.md

    🚥 👆 📂 👩‍💻 🧰, 👆 💪 👀 ❔ 📊 📨 🕴 🔌 🤝, 🔐 🕴 📨 🥇 📨 🔓 👩‍💻 & 🤚 👈 🔐 🤝, ✋️ 🚫 ⏮️:
    
    <img src="/img/tutorial/security/image10.png">
    
    !!! note
        👀 🎚 `Authorization`, ⏮️ 💲 👈 ▶️ ⏮️ `Bearer `.
    
    ## 🏧 ⚙️ ⏮️ `scopes`
    
    Oauth2️⃣ ✔️ 🔑 "↔".
    
    👆 💪 ⚙️ 👫 🚮 🎯 ⚒ ✔ 🥙 🤝.
    
    ⤴️ 👆 💪 🤝 👉 🤝 👩‍💻 🔗 ⚖️ 🥉 🥳, 🔗 ⏮️ 👆 🛠️ ⏮️ ⚒ 🚫.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 21:21:35 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  4. docs/zh/docs/advanced/security/oauth2-scopes.md

    !!! info "说明"
    
        OAuth2 中,**作用域**只是声明特定权限的字符串。
    
        是否使用冒号 `:` 等符号,或是不是 URL 并不重要。
    
        这些细节只是特定的实现方式。
    
        对 OAuth2 来说,它们都只是字符串而已。
    
    ## 全局纵览
    
    首先,快速浏览一下以下代码与**用户指南**中 [OAuth2 实现密码哈希与 Bearer  JWT 令牌验证](../../tutorial/security/oauth2-jwt.md){.internal-link target=_blank}一章中代码的区别。以下代码使用 OAuth2 作用域:
    
    ```Python hl_lines="2  4  8  12  46  64  105  107-115  121-124  128-134  139  153"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 22:43:35 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

            .build()
        val response =
          getResponse(
            Request.Builder()
              .url("https://android.com/foo".toHttpUrl())
              .header("Private", "Secret")
              .header("Proxy-Authorization", "bar")
              .header("User-Agent", "baz")
              .build(),
          )
        assertContent("encrypted response from the origin server", response)
        val connect = server.takeRequest()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 131.7K bytes
    - Viewed (0)
  6. internal/grid/connection.go

    		if c.dialer != nil {
    			dialer.NetDial = c.dialer.DialContext
    		}
    		if c.header == nil {
    			c.header = make(http.Header, 2)
    		}
    		c.header.Set("Authorization", "Bearer "+c.auth(""))
    		c.header.Set("X-Minio-Time", time.Now().UTC().Format(time.RFC3339))
    
    		if len(c.header) > 0 {
    			dialer.Header = ws.HandshakeHeaderHTTP(c.header)
    		}
    		dialer.TLSConfig = c.tlsConfig
    		dialStarted := time.Now()
    		if debugPrint {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 42.6K bytes
    - Viewed (0)
  7. docs/en/docs/advanced/security/oauth2-scopes.md

        For OAuth2 they are just strings.
    
    ## Global view
    
    First, let's quickly see the parts that change from the examples in the main **Tutorial - User Guide** for [OAuth2 with Password (and hashing), Bearer with JWT tokens](../../tutorial/security/oauth2-jwt.md){.internal-link target=_blank}. Now using OAuth2 scopes:
    
    === "Python 3.10+"
    
        ```Python hl_lines="4  8  12  46  64  105  107-115  121-124  128-134  139  155"
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Jan 11 21:21:35 GMT 2024
    - 20.5K bytes
    - Viewed (0)
  8. docs/de/docs/advanced/security/oauth2-scopes.md

        Für OAuth2 sind es einfach nur Strings.
    
    ## Gesamtübersicht
    
    Sehen wir uns zunächst kurz die Teile an, die sich gegenüber den Beispielen im Haupt-**Tutorial – Benutzerhandbuch** für [OAuth2 mit Password (und Hashing), Bearer mit JWT-Tokens](../../tutorial/security/oauth2-jwt.md){.internal-link target=_blank} ändern. Diesmal verwenden wir OAuth2-Scopes:
    
    === "Python 3.10+"
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:26:08 GMT 2024
    - 22.8K bytes
    - Viewed (0)
  9. 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);
            }
        }
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 02:17:23 GMT 2024
    - 50.3K bytes
    - Viewed (0)
  10. CHANGELOG/CHANGELOG-1.8.md

    * Websocket requests may now authenticate to the API server by passing a bearer token in a websocket subprotocol of the form `base64url.bearer.authorization.k8s.io.<base64url-encoded-bearer-token>`. ([#47740](https://github.com/kubernetes/kubernetes/pull/47740), [@liggitt](https://github.com/liggitt))
    
    Plain Text
    - Registered: Fri May 03 09:05:14 GMT 2024
    - Last Modified: Tue Feb 20 15:45:02 GMT 2024
    - 312.2K bytes
    - Viewed (1)
Back to top