- Sort Score
- Num 10 results
- Language All
Results 391 - 400 of 695 for Token (0.05 seconds)
-
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) -
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) -
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) -
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) -
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) -
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) -
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) -
CHANGELOG/CHANGELOG-1.3.md
* Google Compute Engine PD Detach fails if node no longer exists ([29358](https://github.com/kubernetes/kubernetes/issues/29358)) * Mounting (only 'default-token') volume takes a long time when creating a batch of pods (parallelization issue) ([28616](https://github.com/kubernetes/kubernetes/issues/28616))
Created: Fri Apr 03 09:05:14 GMT 2026 - Last Modified: Thu Dec 24 02:28:26 GMT 2020 - 84K bytes - Click Count (0) -
CHANGELOG/CHANGELOG-1.11.md
* kubeadm: The Token-related fields in the `MasterConfiguration` object have now been refactored. Instead of the top-level `.Token`, `.TokenTTL`, `.TokenUsages`, `.TokenGroups` fields, there is now a `BootstrapTokens` slice of `BootstrapToken` objects that support the same features under the `.Token`, `.TTL`, `.Usages`, `.Groups` fields. ([#64408](https://github.com/kubernetes/kubernetes/pull/64408), [@lu...
Created: Fri Apr 03 09:05:14 GMT 2026 - Last Modified: Thu Feb 06 06:04:15 GMT 2020 - 328.4K bytes - Click Count (0) -
tests/test_tutorial/test_bigger_applications/test_main.py
response = client.put( "/items/bar?token=jessica", headers={"X-Token": "fake-super-secret-token"} ) assert response.status_code == 403, response.text assert response.json() == {"detail": "You can only update the item: plumbus"} def test_admin(client: TestClient): response = client.post( "/admin/?token=jessica", headers={"X-Token": "fake-super-secret-token"} )
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 22.8K bytes - Click Count (0)