Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 61 - 70 of 602 for bearer (0.2 seconds)

  1. internal/config/dns/operator_dns.go

    		Subject:   config.EnvDNSWebhook,
    	}
    
    	token := jwt.NewWithClaims(jwt.SigningMethodHS512, claims)
    	ss, err := token.SignedString([]byte(c.password))
    	if err != nil {
    		return err
    	}
    
    	r.Header.Set("Authorization", "Bearer "+ss)
    	return nil
    }
    
    func (c *OperatorDNS) endpoint(bucket string, del bool) (string, error) {
    	u, err := url.Parse(c.Endpoint)
    	if err != nil {
    		return "", err
    	}
    	q := u.Query()
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Nov 11 14:51:43 GMT 2024
    - 6.6K bytes
    - Click Count (0)
  2. docs/zh-hant/docs/advanced/security/oauth2-scopes.md

    在 OAuth2 中,「scope」只是宣告所需特定權限的一個字串。
    
    是否包含像 `:` 這樣的字元,或是否是一個 URL,都沒差。
    
    那些細節取決於實作。
    
    對 OAuth2 而言,它們就是字串。
    
    ///
    
    ## 全局概觀 { #global-view }
    
    先快速看看相對於主教學「使用密碼(與雜湊)、Bearer 與 JWT token 的 OAuth2」的差異([OAuth2 with Password (and hashing), Bearer with JWT tokens](../../tutorial/security/oauth2-jwt.md))。現在加入了 OAuth2 scopes:
    
    {* ../../docs_src/security/tutorial005_an_py310.py hl[5,9,13,47,65,106,108:116,122:126,130:136,141,157] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 12.7K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/curl/CurlRequestTest.java

            CurlRequest request = new CurlRequest(Method.POST, "https://example.com");
    
            // Add multiple headers
            request.header("Accept", "application/json").header("Content-Type", "application/json").header("Authorization", "Bearer token123")
                    .header("X-Custom-Header", "custom-value");
    
            assertNotNull(request);
        }
    
        @Test
        public void testGzipSetsCompressionToGzip() {
    Created: Thu Apr 02 15:34:12 GMT 2026
    - Last Modified: Sat Mar 21 09:11:12 GMT 2026
    - 24.7K bytes
    - Click Count (0)
  4. docs/ja/docs/tutorial/security/oauth2-jwt.md

    # パスワード(およびハッシュ化)によるOAuth2、JWTトークンによるBearer { #oauth2-with-password-and-hashing-bearer-with-jwt-tokens }
    
    これでセキュリティの流れが全てわかったので、<abbr title="JSON Web Tokens - JSON Web Token">JWT</abbr>トークンと安全なパスワードのハッシュ化を使用して、実際にアプリケーションを安全にしてみましょう。
    
    このコードは、アプリケーションで実際に使用したり、パスワードハッシュをデータベースに保存するといった用途に利用できます。
    
    本章では、前章の続きから始めて、コードをアップデートしていきます。
    
    ## JWT について { #about-jwt }
    
    JWTとは「JSON Web Tokens」の略称です。
    
    JSONオブジェクトをスペースのない長く密集した文字列で表現したトークンの仕様です。例えば次のようになります:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 14.6K bytes
    - Click Count (1)
  5. internal/grid/grid.go

    		dialer.Timeout = defaultDialTimeout
    		if dial != nil {
    			dialer.NetDial = dial
    		}
    		header := make(http.Header, 2)
    		header.Set("Authorization", "Bearer "+auth())
    		header.Set("X-Minio-Time", strconv.FormatInt(time.Now().UnixNano(), 10))
    
    		if len(header) > 0 {
    			dialer.Header = ws.HandshakeHeaderHTTP(header)
    		}
    		dialer.TLSConfig = tls
    
    		conn, br, _, err := dialer.Dial(ctx, toDial)
    		if br != nil {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Mar 30 00:56:02 GMT 2025
    - 7K bytes
    - Click Count (0)
  6. docs/metrics/prometheus/README.md

    expose metrics without authentication, you don't need to use `mc` to generate prometheus config. You can skip reading further and move to 3.2 section.
    
    The Prometheus endpoint in MinIO requires authentication by default. Prometheus supports a bearer token approach to authenticate prometheus scrape requests, override the default Prometheus config with the one generated using mc. To generate a Prometheus config for an alias, use [mc](https://docs.min.io/community/minio-object-store/reference/m...
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  7. docs/zh/docs/tutorial/cors.md

    为此,`:80` 的后端必须有一个「允许的源」列表。
    
    在这种情况下,它必须包含 `http://localhost:8080`,这样 `:8080` 的前端才能正常工作。
    
    ## 通配符 { #wildcards }
    
    也可以使用 `"*"`(一个「通配符」)声明这个列表,表示全部都是允许的。
    
    但这仅允许某些类型的通信,不包括所有涉及凭据的内容:比如 Cookies,以及那些使用 Bearer 令牌的 Authorization 请求头等。
    
    因此,为了一切都能正常工作,最好显式地指定允许的源。
    
    ## 使用 `CORSMiddleware` { #use-corsmiddleware }
    
    你可以在 **FastAPI** 应用中使用 `CORSMiddleware` 来配置它。
    
    * 导入 `CORSMiddleware`。
    * 创建一个允许的源列表(由字符串组成)。
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 4.9K bytes
    - Click Count (0)
  8. docs/zh-hant/docs/tutorial/cors.md

    為了達成這點,`:80` 的後端必須有一份「允許的來源」清單。
    
    在此情況下,該清單必須包含 `http://localhost:8080`,` :8080` 的前端才能正確運作。
    
    ## 萬用字元 { #wildcards }
    
    也可以將清單宣告為 `"*"`(「wildcard」萬用字元),表示全部都允許。
    
    但那只會允許某些類型的通訊,凡是涉及憑證(credentials)的都會被排除:例如 Cookie、Authorization 標頭(像 Bearer Token 會用到的)等。
    
    因此,為了讓一切正常運作,最好明確指定被允許的來源。
    
    ## 使用 `CORSMiddleware` { #use-corsmiddleware }
    
    你可以在 **FastAPI** 應用程式中使用 `CORSMiddleware` 來設定:
    
    * 匯入 `CORSMiddleware`。
    * 建立允許的來源清單(字串)。
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 5K bytes
    - Click Count (0)
  9. docs/sts/keycloak.md

    The following example shows how to get the details of the user with `{userid}` from `{realm}` realm:
    
    ```
    curl \
      -H "Authorization: Bearer eyJhbGciOiJSUz..." \
      "http://localhost:8080/auth/admin/realms/{realm}/users/{userid}"
    ```
    
    ### Configure MinIO
    
    ```
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 8.1K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/sso/entraid/EntraIdAuthenticator.java

                    }
                    try (CurlResponse response = Curl.post(url)
                            .header("Authorization", "Bearer " + user.getAuthenticationResult().accessToken())
                            .header("Accept", "application/json")
                            .header("Content-type", "application/json")
                            .body("{\"securityEnabledOnly\":false}")
                            .execute()) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Mar 15 08:03:27 GMT 2026
    - 56.8K bytes
    - Click Count (0)
Back to Top