Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 660 for tolen (0.05 sec)

  1. docs/en/docs/tutorial/security/simple-oauth2.md

    ## Return the token
    
    The response of the `token` endpoint must be a JSON object.
    
    It should have a `token_type`. In our case, as we are using "Bearer" tokens, the token type should be "`bearer`".
    
    And it should have an `access_token`, with a string containing our access token.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/util/config/common_test.go

    					t.Fatalf("unexpected error returned by GroupVersionKindsFromBytes: %v", err)
    				}
    				if len(gvks) != len(test.expectedKinds) {
    					t.Fatalf("length mismatch between resulting gvks and expected kinds:\n\tlen(gvks)=%d\n\tlen(expectedKinds)=%d",
    						len(gvks), len(test.expectedKinds))
    				}
    				for _, expectedKind := range test.expectedKinds {
    					if !kubeadmutil.GroupVersionKindsHasKind(gvks, expectedKind) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 29 05:14:21 UTC 2024
    - 23.4K bytes
    - Viewed (0)
  3. src/go/scanner/scanner_test.go

    	{token.LAND, "&&", operator},
    	{token.LOR, "||", operator},
    	{token.ARROW, "<-", operator},
    	{token.INC, "++", operator},
    	{token.DEC, "--", operator},
    
    	{token.EQL, "==", operator},
    	{token.LSS, "<", operator},
    	{token.GTR, ">", operator},
    	{token.ASSIGN, "=", operator},
    	{token.NOT, "!", operator},
    
    	{token.NEQ, "!=", operator},
    	{token.LEQ, "<=", operator},
    	{token.GEQ, ">=", operator},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 28 15:38:31 UTC 2023
    - 34.6K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_bigger_applications/test_main_an.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"}
        )
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  5. src/go/ast/ast.go

    	//
    	Ellipsis struct {
    		Ellipsis token.Pos // position of "..."
    		Elt      Expr      // ellipsis element type (parameter lists only); or nil
    	}
    
    	// A BasicLit node represents a literal of basic type.
    	BasicLit struct {
    		ValuePos token.Pos   // literal position
    		Kind     token.Token // token.INT, token.FLOAT, token.IMAG, token.CHAR, or token.STRING
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 28 21:32:41 UTC 2024
    - 35.6K bytes
    - Viewed (0)
  6. src/go/scanner/scanner.go

    			}
    		case '>':
    			tok = s.switch4(token.GTR, token.GEQ, '>', token.SHR, token.SHR_ASSIGN)
    		case '=':
    			tok = s.switch2(token.ASSIGN, token.EQL)
    		case '!':
    			tok = s.switch2(token.NOT, token.NEQ)
    		case '&':
    			if s.ch == '^' {
    				s.next()
    				tok = s.switch2(token.AND_NOT, token.AND_NOT_ASSIGN)
    			} else {
    				tok = s.switch3(token.AND, token.AND_ASSIGN, '&', token.LAND)
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 24.3K bytes
    - Viewed (0)
  7. 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"}
        )
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  8. cmd/kubeadm/app/cmd/token_test.go

    			outputFormat: "jsonpath={.token} {.groups}",
    			expected:     "abcdef.1234567890123456 [\"system:bootstrappers:kubeadm:default-node-token\"]",
    		},
    	}
    	for _, tc := range testCases {
    		t.Run(tc.name, func(t *testing.T) {
    			token := outputapiv1alpha3.BootstrapToken{
    				BootstrapToken: bootstraptokenv1.BootstrapToken{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Apr 23 05:47:48 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  9. cmd/kubeadm/app/apis/bootstraptoken/v1/utils_test.go

    				"token-secret": []byte("abcdef0123456789"),
    			},
    			nil,
    			true,
    		},
    		{
    			"invalid secret naming",
    			"foo",
    			map[string][]byte{
    				"token-id":     []byte("abcdef"),
    				"token-secret": []byte("abcdef0123456789"),
    			},
    			nil,
    			true,
    		},
    		{
    			"invalid token secret",
    			"bootstrap-token-abcdef",
    			map[string][]byte{
    				"token-id":     []byte("abcdef"),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 26 15:51:39 UTC 2023
    - 21.2K bytes
    - Viewed (0)
  10. src/go/constant/value_test.go

    			tok = token.FLOAT
    		}
    	}
    
    	return MakeFromLiteral(lit, tok, 0)
    }
    
    var optab = map[string]token.Token{
    	"!": token.NOT,
    
    	"+": token.ADD,
    	"-": token.SUB,
    	"*": token.MUL,
    	"/": token.QUO,
    	"%": token.REM,
    
    	"<<": token.SHL,
    	">>": token.SHR,
    
    	"&":  token.AND,
    	"|":  token.OR,
    	"^":  token.XOR,
    	"&^": token.AND_NOT,
    
    	"==": token.EQL,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 15.6K bytes
    - Viewed (0)
Back to top