Search Options

Results per page
Sort
Preferred Languages
Advance

Results 291 - 300 of 606 for Tokens (0.06 sec)

  1. fastapi/security/http.py

                bool,
                Doc(
                    """
                    By default, if the HTTP Bearer token is not provided (in an
                    `Authorization` header), `HTTPBearer` will automatically cancel the
                    request and send the client an error.
    
                    If `auto_error` is set to `False`, when the HTTP Bearer token
                    is not available, instead of erroring out, the dependency result will
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Sep 19 09:47:28 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  2. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/DefaultMavenInvoker.java

                List<String> optionValues = mavenOptions.projects().get();
                for (final String optionValue : optionValues) {
                    for (String token : optionValue.split(",")) {
                        String selector = token.trim();
                        boolean active = true;
                        if (!selector.isEmpty()) {
                            if (selector.charAt(0) == '-' || selector.charAt(0) == '!') {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 29.8K bytes
    - Viewed (0)
  3. cni/pkg/plugin/plugin_test.go

    			Containers: []corev1.Container{app, proxy},
    		},
    	}
    
    	fakeNS := &corev1.Namespace{
    		TypeMeta: metav1.TypeMeta{
    			APIVersion: "core/v1",
    			Kind:       "Namespace",
    		},
    		ObjectMeta: metav1.ObjectMeta{
    			Name:      testNSName,
    			Namespace: "",
    			Labels:    map[string]string{},
    		},
    	}
    
    	return fakePod, fakeNS
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 17.3K bytes
    - Viewed (0)
  4. docs_src/dependencies/tutorial006_an.py

    from typing_extensions import Annotated
    
    app = FastAPI()
    
    
    async def verify_token(x_token: Annotated[str, Header()]):
        if x_token != "fake-super-secret-token":
            raise HTTPException(status_code=400, detail="X-Token header invalid")
    
    
    async def verify_key(x_key: Annotated[str, Header()]):
        if x_key != "fake-super-secret-key":
            raise HTTPException(status_code=400, detail="X-Key header invalid")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 643 bytes
    - Viewed (0)
  5. docs_src/dependencies/tutorial006_an_py39.py

    from fastapi import Depends, FastAPI, Header, HTTPException
    
    app = FastAPI()
    
    
    async def verify_token(x_token: Annotated[str, Header()]):
        if x_token != "fake-super-secret-token":
            raise HTTPException(status_code=400, detail="X-Token header invalid")
    
    
    async def verify_key(x_key: Annotated[str, Header()]):
        if x_key != "fake-super-secret-key":
            raise HTTPException(status_code=400, detail="X-Key header invalid")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 633 bytes
    - Viewed (0)
  6. .github/ISSUE_TEMPLATE/20_contributor_feature_request.yml

    description: Suggest an idea for this project
    labels: [ "a:feature", "to-triage" ]
    assignees: [ ]
    body:
      - type: markdown
        attributes:
          value: |
            Please follow the instructions below.
            We receive dozens of issues every week, so to stay productive, we will close issues that don't provide enough information.
    
            Please open Android-related issues on [the Android Issue Tracker](https://source.android.com/source/report-bugs)
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Apr 06 11:10:39 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  7. src/cmd/cgo/ast_go1.go

    // license that can be found in the LICENSE file.
    
    //go:build compiler_bootstrap
    
    package main
    
    import (
    	"go/ast"
    	"go/token"
    )
    
    func (f *File) walkUnexpected(x interface{}, context astContext, visit func(*File, interface{}, astContext)) {
    	error_(token.NoPos, "unexpected type %T in walk", x)
    	panic("unexpected type")
    }
    
    func funcTypeTypeParams(n *ast.FuncType) *ast.FieldList {
    	return nil
    }
    
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Wed Nov 30 21:45:10 UTC 2022
    - 578 bytes
    - Viewed (0)
  8. docs_src/header_params/tutorial003_py39.py

    from typing import Union
    
    from fastapi import FastAPI, Header
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(x_token: Union[list[str], None] = Header(default=None)):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat May 14 11:59:59 UTC 2022
    - 218 bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/web/admin/dict/kuromoji/AdminDictKuromojiAction.java

                }, () -> asListHtml(dictId));
            }
        }
    
        protected void verifyForm(final CreateForm form) {
            if (form.token != null && form.token.split(" ").length > 1) {
                throwValidationError(messages -> {
                    messages.addErrorsInvalidKuromojiToken("token", form.token);
                }, this::asEditHtml);
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 18.8K bytes
    - Viewed (0)
  10. .github/workflows/build-docs.yml

          - name: Install Material for MkDocs Insiders
            if: ( github.event_name != 'pull_request' || github.secret_source == 'Actions' )
            run: uv pip install -r requirements-docs-insiders.txt
            env:
              TOKEN: ${{ secrets.FASTAPI_MKDOCS_MATERIAL_INSIDERS }}
          - name: Verify Docs
            run: python ./scripts/docs.py verify-docs
          - name: Export Language Codes
            id: show-langs
            run: |
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 12 12:27:19 UTC 2024
    - 4.1K bytes
    - Viewed (0)
Back to top