Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,090 for tolen (0.07 sec)

  1. security/pkg/credentialfetcher/plugin/gce.go

    	token, err := metadata.GetWithContext(context.TODO(), uri)
    	if err != nil {
    		gcecredLog.Errorf("Failed to get vm identity token from metadata server: %v", err)
    		return "", err
    	}
    	// Update token cache.
    	p.tokenCache = token
    	gcecredLog.Debugf("Got GCE identity token: %d", len(token))
    	tokenbytes := []byte(token)
    	err = os.WriteFile(p.jwtPath, tokenbytes, 0o640)
    	if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Apr 30 13:56:46 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  2. tensorflow/compiler/mlir/tf2xla/tests/adjust-layout.mlir

      // CHECK: [[TOKEN:%.*]] = mhlo.create_token : !mhlo.token
      %0 = "mhlo.create_token"() : () -> !mhlo.token
    
      // CHECK:               [[INFEED:%.*]]:3 = "mhlo.infeed"([[TOKEN]]) <{
      // CHECK-SAME{LITERAL}:   infeed_config = "", layout = [[1, 3, 2, 0], [1, 2, 0]]
      // CHECK-SAME:          }> : (!mhlo.token) -> (tensor<1x8x4x4xi32>, tensor<1x100x1xf32>, !mhlo.token)
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Apr 06 15:32:52 UTC 2024
    - 817 bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/helper/AccessTokenHelperTest.java

            final String token = accessTokenHelper.generateAccessToken();
            MockletHttpServletRequest req = getMockRequest();
            req.addHeader("Authorization", "Bearer " + token);
            assertEquals(token, accessTokenHelper.getAccessTokenFromRequest(req));
        }
    
        public void test_getAccessTokenFromRequest_ok1() {
            final String token = accessTokenHelper.generateAccessToken();
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  4. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/annotations/KtAnnotationValue.kt

     */
    public sealed class KaAnnotationValue(override val token: KaLifetimeToken) : KaLifetimeOwner {
        public abstract val sourcePsi: KtElement?
    }
    
    public typealias KtAnnotationValue = KaAnnotationValue
    
    /**
     * This represents an unsupported expression used as an annotation value.
     */
    public class KaUnsupportedAnnotationValue @KaAnalysisApiInternals constructor(
        token: KaLifetimeToken
    ) : KaAnnotationValue(token) {
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Tue Jun 11 15:45:42 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_request_forms_and_files/test_tutorial001.py

                    },
                    {
                        "loc": ["body", "token"],
                        "msg": "field required",
                        "type": "value_error.missing",
                    },
                ]
            }
        )
    
    
    def test_post_form_no_file(client: TestClient):
        response = client.post("/files/", data={"token": "foo"})
        assert response.status_code == 422, response.text
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 9.8K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_request_forms_and_files/test_tutorial001_an_py39.py

                    },
                    {
                        "loc": ["body", "token"],
                        "msg": "field required",
                        "type": "value_error.missing",
                    },
                ]
            }
        )
    
    
    @needs_py39
    def test_post_form_no_file(client: TestClient):
        response = client.post("/files/", data={"token": "foo"})
        assert response.status_code == 422, response.text
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  7. tests/integration/security/jwt_test.go

    						opts.HTTP.Path = "/valid-token?token_value=" + jwt.TokenIssuer1
    						opts.Check = check.Status(http.StatusForbidden)
    					},
    				},
    				{
    					name: "valid-token-set",
    					customizeCall: func(t framework.TestContext, from echo.Instance, opts *echo.CallOptions) {
    						opts.HTTP.Path = "/valid-token?token=" + jwt.TokenIssuer1 + "&secondary_token=" + jwt.TokenIssuer1
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon Apr 08 22:02:59 UTC 2024
    - 25.3K bytes
    - Viewed (0)
  8. security/pkg/server/ca/authenticate/kubeauth/kube_jwt_test.go

    			ctx := context.Background()
    			if tc.metadata != nil {
    				if tc.token != "" {
    					token := security.BearerTokenPrefix + tc.token
    					tc.metadata.Append("authorization", token)
    				}
    				ctx = metadata.NewIncomingContext(ctx, tc.metadata)
    			}
    
    			tokenReview := &k8sauth.TokenReview{
    				Spec: k8sauth.TokenReviewSpec{
    					Token: tc.token,
    				},
    			}
    
    			tokenReview.Status.Audiences = []string{}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  9. src/encoding/xml/xml_test.go

    	d := NewDecoder(strings.NewReader(testInputAltEncoding))
    	token, err := d.RawToken()
    	if token == nil {
    		t.Fatalf("expected a token on first RawToken call")
    	}
    	if err != nil {
    		t.Fatal(err)
    	}
    	token, err = d.RawToken()
    	if token != nil {
    		t.Errorf("expected a nil token; got %#v", token)
    	}
    	if err == nil {
    		t.Fatalf("expected an error on second RawToken call")
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Mar 26 19:58:28 UTC 2024
    - 36.9K bytes
    - Viewed (0)
  10. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/contracts/description/booleans/KtLogicalCombinators.kt

        private val backingOperation: KaLogicOperation
    ) : KaContractBooleanExpression {
        init {
            check(left.token === right.token) { "$left and $right should have the same lifetime token" }
        }
    
        override val token: KaLifetimeToken get() = backingLeft.token
        public val left: KaContractBooleanExpression get() = withValidityAssertion { backingLeft }
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Wed May 22 06:28:34 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top