Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 391 - 400 of 894 for token (0.03 seconds)

  1. CHANGELOG/CHANGELOG-1.18.md

    - Fixes service account token admission error in clusters that do not run the service account token controller ([#87029](https://github.com/kubernetes/kubernetes/pull/87029), [@liggitt](https://github.com/liggitt)) [SIG Auth]
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Wed Jun 16 17:18:28 GMT 2021
    - 373.2K bytes
    - Click Count (0)
  2. docs/es/docs/tutorial/security/oauth2-jwt.md

    Actualiza `get_current_user` para recibir el mismo token que antes, pero esta vez, usando tokens JWT.
    
    Decodifica el token recibido, verifícalo y devuelve el usuario actual.
    
    Si el token es inválido, devuelve un error HTTP de inmediato.
    
    {* ../../docs_src/security/tutorial004_an_py310.py hl[93:110] *}
    
    ## Actualizar la *path operation* `/token` { #update-the-token-path-operation }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 11.5K bytes
    - Click Count (0)
  3. docs/zh/docs/advanced/security/oauth2-scopes.md

    因为我们现在声明了这些作用域,所以当你登录/授权时,它们会显示在 API 文档里。
    
    你可以选择要授予访问权限的作用域:`me` 和 `items`。
    
    这与使用 Facebook、Google、GitHub 等登录时授予权限的机制相同:
    
    <img src="/img/tutorial/security/image11.png">
    
    ## 带作用域的 JWT 令牌 { #jwt-token-with-scopes }
    
    现在,修改令牌的*路径操作*以返回请求的作用域。
    
    我们仍然使用 `OAuth2PasswordRequestForm`。它包含 `scopes` 属性,其值是 `list[str]`,包含请求中接收到的每个作用域。
    
    我们把这些作用域作为 JWT 令牌的一部分返回。
    
    /// danger | 危险
    
    为简单起见,此处我们只是把接收到的作用域直接添加到了令牌中。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 13K bytes
    - Click Count (0)
  4. internal/logger/target/http/http.go

    	if resp.StatusCode >= 200 && resp.StatusCode <= 299 {
    		// accepted HTTP status codes.
    		return nil
    	} else if resp.StatusCode == http.StatusForbidden {
    		return fmt.Errorf("%s returned '%s', please check if your auth token is correctly set", h.Endpoint(), resp.Status)
    	}
    	return fmt.Errorf("%s returned '%s', please check your endpoint configuration", h.Endpoint(), resp.Status)
    }
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 15.6K bytes
    - Click Count (0)
  5. docs/de/docs/tutorial/security/oauth2-jwt.md

    Aktualisieren Sie `get_current_user`, um den gleichen Token wie zuvor zu erhalten, dieses Mal jedoch unter Verwendung von JWT-Tokens.
    
    Dekodieren Sie den empfangenen Token, validieren Sie ihn und geben Sie den aktuellen Benutzer zurück.
    
    Wenn der Token ungültig ist, geben Sie sofort einen HTTP-Fehler zurück.
    
    {* ../../docs_src/security/tutorial004_an_py310.py hl[93:110] *}
    
    ## Die *Pfadoperation* `/token` aktualisieren { #update-the-token-path-operation }
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 12.9K bytes
    - Click Count (0)
  6. CHANGELOG/CHANGELOG-1.9.md

    ### **Cluster Lifecycle**
    
    *   You must either specify the `--discovery-token-ca-cert-hash` flag to `kubeadm join`, or opt out of the CA pinning feature using `--discovery-token-unsafe-skip-ca-verification`.
    *   The default `auto-detect` behavior of the kubelet's `--cloud-provider` flag is removed.
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Tue Nov 16 10:46:27 GMT 2021
    - 313.7K bytes
    - Click Count (0)
  7. docs/zh/docs/tutorial/bigger-applications.md

    ## 依赖项 { #dependencies }
    
    我们了解到我们将需要一些在应用程序的好几个地方所使用的依赖项。
    
    因此,我们将它们放在它们自己的 `dependencies` 模块(`app/dependencies.py`)中。
    
    现在我们将使用一个简单的依赖项来读取一个自定义的 `X-Token` 请求首部:
    
    {* ../../docs_src/bigger_applications/app_an_py310/dependencies.py hl[3,6:8] title["app/dependencies.py"] *}
    
    /// tip | 提示
    
    我们正在使用虚构的请求首部来简化此示例。
    
    但在实际情况下,使用集成的[安全性实用工具](security/index.md)会得到更好的效果。
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 19.5K bytes
    - Click Count (0)
  8. CHANGELOG/CHANGELOG-1.3.md

    * With this PR, kubectl and other RestClient's using the AuthProvider framework can make OIDC authenticated requests, and, if there is a refresh token present, the tokens will be refreshed as needed. ([#25270](https://github.com/kubernetes/kubernetes/pull/25270), [@bobbyrullo](https://github.com/bobbyrullo))
    Created: Fri Apr 03 09:05:14 GMT 2026
    - Last Modified: Thu Dec 24 02:28:26 GMT 2020
    - 84K bytes
    - Click Count (0)
  9. src/cmd/api/main_test.go

    				exitCode = 1
    			}
    		}
    		nonblank = append(nonblank, line)
    	}
    	return nonblank
    }
    
    var fset = token.NewFileSet()
    
    type Walker struct {
    	context     *build.Context
    	root        string
    	scope       []string
    	current     *apiPackage
    	deprecated  map[token.Pos]bool
    	features    map[string]bool              // set
    	imported    map[string]*apiPackage       // packages already imported
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Mon Mar 02 13:20:41 GMT 2026
    - 31.4K bytes
    - Click Count (0)
  10. src/test/java/org/codelibs/curl/CurlRequestTest.java

                    .param("sort", "name").header("Accept", "application/json").header("Content-Type", "application/json")
                    .header("Authorization", "Bearer token").body("{\"name\":\"test\"}").threadPool(new ForkJoinPool())
                    .onConnect((req, conn) -> conn.setConnectTimeout(5000));
    
            assertNotNull(request);
            assertEquals(Method.POST, request.method());
    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)
Back to Top