Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 1,405 for tolen (0.11 sec)

  1. src/cmd/asm/internal/lex/lex.go

    	// Text returns the original string representation of the token.
    	Text() string
    	// File reports the source file name of the token.
    	File() string
    	// Base reports the position base of the token.
    	Base() *src.PosBase
    	// SetBase sets the position base.
    	SetBase(*src.PosBase)
    	// Line reports the source line number of the token.
    	Line() int
    	// Col reports the source column number of the token.
    	Col() int
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 29 18:31:05 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  2. pkg/serviceaccount/jwt_test.go

    	if err != nil {
    		t.Fatalf("error generating token: %v", err)
    	}
    	if len(rsaToken) == 0 {
    		t.Fatalf("no token generated")
    	}
    	rsaSecret.Data = map[string][]byte{
    		"token": []byte(rsaToken),
    	}
    
    	checkJSONWebSignatureHasKeyID(t, rsaToken, rsaKeyID)
    
    	// Generate RSA token with invalidAutoSecret
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Feb 27 22:16:08 UTC 2024
    - 17K bytes
    - Viewed (0)
  3. security/pkg/nodeagent/caclient/credentials.go

    	if t == nil {
    		return nil, nil
    	}
    	token, err := t.GetToken()
    	if err != nil {
    		return nil, err
    	}
    	if token == "" {
    		return nil, nil
    	}
    	return map[string]string{
    		"authorization": "Bearer " + token,
    	}, nil
    }
    
    // Allow the token provider to be used regardless of transport security; callers can determine whether
    // this is safe themselves.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 22:12:28 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  4. src/go/printer/nodes.go

    		p.expr(x.Key)
    		p.setPos(x.Colon)
    		p.print(token.COLON, blank)
    		p.expr(x.Value)
    
    	case *ast.StarExpr:
    		const prec = token.UnaryPrec
    		if prec < prec1 {
    			// parenthesis needed
    			p.print(token.LPAREN)
    			p.print(token.MUL)
    			p.expr(x.X)
    			p.print(token.RPAREN)
    		} else {
    			// no parenthesis needed
    			p.print(token.MUL)
    			p.expr(x.X)
    		}
    
    	case *ast.UnaryExpr:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 17 18:53:17 UTC 2023
    - 52.6K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_request_forms_and_files/test_tutorial001_an.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. staging/src/k8s.io/api/authentication/v1beta1/generated.proto

      // Status is filled in by the server and indicates whether the token can be authenticated.
      // +optional
      optional TokenReviewStatus status = 3;
    }
    
    // TokenReviewSpec is a description of the token authentication request.
    message TokenReviewSpec {
      // Token is the opaque bearer token.
      // +optional
      optional string token = 1;
    
      // Audiences is a list of the identifiers that the resource server presented
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Mar 28 15:34:11 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_header_params/test_tutorial003.py

    @pytest.mark.parametrize(
        "path,headers,expected_status,expected_response",
        [
            ("/items", None, 200, {"X-Token values": None}),
            ("/items", {"x-token": "foo"}, 200, {"X-Token values": ["foo"]}),
            (
                "/items",
                [("x-token", "foo"), ("x-token", "bar")],
                200,
                {"X-Token values": ["foo", "bar"]},
            ),
        ],
    )
    def test(path, headers, expected_status, expected_response):
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jan 12 14:52:00 UTC 2024
    - 4.1K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_dependencies/test_tutorial012_an.py

        response = client.get("/items/", headers={"X-Token": "invalid"})
        assert response.status_code == 400, response.text
        assert response.json() == {"detail": "X-Token header invalid"}
    
    
    def test_get_invalid_one_users():
        response = client.get("/users/", headers={"X-Token": "invalid"})
        assert response.status_code == 400, response.text
        assert response.json() == {"detail": "X-Token header invalid"}
    
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/es/config/cbean/cq/bs/BsAccessTokenCQ.java

        public void setToken_Equal(String token) {
            setToken_Term(token, null);
        }
    
        public void setToken_Equal(String token, ConditionOptionCall<TermQueryBuilder> opLambda) {
            setToken_Term(token, opLambda);
        }
    
        public void setToken_Term(String token) {
            setToken_Term(token, null);
        }
    
        public void setToken_Term(String token, ConditionOptionCall<TermQueryBuilder> opLambda) {
    Registered: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 71.8K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/tf2xla/transforms/legalize_tf_communication.cc

        return true;
      }
    
      if (*region_idx < region_if.getNumRegions()) {
        // For the region-blocks of If op, we create a dummy token argument. Later
        // we replace that block-argument's uses with the same (implicitly captured)
        // token 'token', used for If op, and erase the argument.
        // Note that 'RewriteControlFlowOpRegion' sets the token, used for the first
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 40.5K bytes
    - Viewed (0)
Back to top