- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 481 for Unauthorized (0.25 sec)
-
api/openapi-spec/v3/apis__node.k8s.io__v1_openapi.json
} } }, "description": "OK" }, "401": { "description": "Unauthorized" } }, "tags": [ "node_v1" ] } }, "/apis/node.k8s.io/v1/runtimeclasses": { "delete": {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 08 04:18:56 UTC 2024 - 122.9K bytes - Viewed (0) -
docs/de/docs/tutorial/security/first-steps.md
Wenn es keinen `Authorization`-Header sieht, oder der Wert keinen `Bearer`-Token hat, antwortet es direkt mit einem 401-Statuscode-Error (`UNAUTHORIZED`). Sie müssen nicht einmal prüfen, ob der Token existiert, um einen Fehler zurückzugeben. Seien Sie sicher, dass Ihre Funktion, wenn sie ausgeführt wird, ein `str` in diesem Token enthält.
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sat Mar 30 18:07:08 UTC 2024 - 10.3K bytes - Viewed (0) -
docs/zh/docs/tutorial/security/first-steps.md
## 实现的操作 FastAPI 校验请求中的 `Authorization` 请求头,核对请求头的值是不是由 `Bearer ` + 令牌组成, 并返回令牌字符串(`str`)。 如果没有找到 `Authorization` 请求头,或请求头的值不是 `Bearer ` + 令牌。FastAPI 直接返回 401 错误状态码(`UNAUTHORIZED`)。 开发者不需要检查错误信息,查看令牌是否存在,只要该函数能够执行,函数中就会包含令牌字符串。 正如下图所示,API 文档已经包含了这项功能: <img src="/img/tutorial/security/image03.png"> 目前,暂时还没有实现验证令牌是否有效的功能,不过后文很快就会介绍的。 ## 小结
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Wed Mar 13 19:02:19 UTC 2024 - 7.4K bytes - Viewed (0) -
pilot/pkg/xds/sds.go
var authzResult *bool var authzError error // isAuthorized is a small wrapper around credscontroller.Authorize so we only call it once instead of each time in the loop isAuthorized := func() bool { if authzResult != nil { return *authzResult } res := false
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Mon Apr 15 23:04:36 UTC 2024 - 15.8K bytes - Viewed (0) -
api/openapi-spec/v3/apis__authorization.k8s.io__v1_openapi.json
} } }, "description": "OK" }, "401": { "description": "Unauthorized" } }, "tags": [ "authorization_v1" ] } }, "/apis/authorization.k8s.io/v1/namespaces/{namespace}/localsubjectaccessreviews": {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Nov 27 20:06:26 UTC 2023 - 66.1K bytes - Viewed (0) -
staging/src/k8s.io/apiextensions-apiserver/pkg/controller/openapi/builder/builder.go
Title: "Kubernetes CRD Swagger", Version: "v0.1.0", }, }, CommonResponses: map[int]spec.Response{ 401: { ResponseProps: spec.ResponseProps{ Description: "Unauthorized", }, }, }, GetOperationIDAndTags: openapi.GetOperationIDAndTags, GetDefinitionName: func(name string) (string, spec.Extensions) { buildDefinitions.Do(generateBuildDefinitionsFunc)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Feb 28 19:06:46 UTC 2024 - 22.8K bytes - Viewed (0) -
tests/integration/security/file_mounted_certs/main_test.go
# deployed test services changes on each run due to a randomly generated namespace suffixes. # Turning the XDS-Auth ON will result in the error messages like: # Unauthorized XDS: 10.1.0.159:41960 with identity [spiffe://cluster.local/ns/mounted-certs/sa/client client.mounted-certs.svc]:
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Thu May 02 21:29:40 UTC 2024 - 13.4K bytes - Viewed (0) -
api/openapi-spec/v3/apis__authentication.k8s.io__v1_openapi.json
} } }, "description": "OK" }, "401": { "description": "Unauthorized" } }, "tags": [ "authentication_v1" ] } }, "/apis/authentication.k8s.io/v1/selfsubjectreviews": { "parameters": [ {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Nov 27 20:06:25 UTC 2023 - 41.5K bytes - Viewed (0) -
plugin/pkg/admission/imagepolicy/admission_test.go
err := wh.Validate(context.TODO(), attr, nil) authorized := err == nil if test.expectedErr && err == nil { t.Errorf("Expected error") } else if !test.expectedErr && err != nil { t.Fatal(err) } if test.expectedAuthorized && !authorized { if test.expectedCached { t.Errorf("Webhook should have successful response cached, but authorizer reported unauthorized.") } else {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Jun 02 06:05:06 UTC 2023 - 32.9K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/apis/apiserver/v1beta1/types.go
// The duration to cache 'authorized' responses from the webhook // authorizer. // Same as setting `--authorization-webhook-cache-authorized-ttl` flag // Default: 5m0s AuthorizedTTL metav1.Duration `json:"authorizedTTL"` // The duration to cache 'unauthorized' responses from the webhook // authorizer. // Same as setting `--authorization-webhook-cache-unauthorized-ttl` flag // Default: 30s
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Fri Mar 08 17:59:05 UTC 2024 - 25.5K bytes - Viewed (0)