Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 61 for username (0.1 sec)

  1. tests/test_multipart_installation.py

        with pytest.raises(RuntimeError, match=multipart_incorrect_install_error):
            app = FastAPI()
    
            @app.post("/")
            async def root(username: str = Form()):
                return username  # pragma: nocover
    
    
    def test_incorrect_multipart_installed_file_upload(monkeypatch):
        monkeypatch.setattr("python_multipart.__version__", "0.0.12")
        with warnings.catch_warnings(record=True):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 21:46:26 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  2. compat/maven-artifact/src/main/java/org/apache/maven/artifact/repository/Authentication.java

        }
    
        /**
         * Get the username used to access the repository.
         *
         * @return username at repository
         */
        public String getUsername() {
            return username;
        }
    
        /**
         * Set username used to access the repository.
         *
         * @param userName the username used to access repository
         */
        public void setUsername(final String userName) {
            this.username = userName;
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  3. docs/en/docs/advanced/security/http-basic-auth.md

    In HTTP Basic Auth, the application expects a header that contains a username and a password.
    
    If it doesn't receive it, it returns an HTTP 401 "Unauthorized" error.
    
    And returns a header `WWW-Authenticate` with a value of `Basic`, and an optional `realm` parameter.
    
    That tells the browser to show the integrated prompt for a username and password.
    
    Then, when you type that username and password, the browser sends them in the header automatically.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 26 16:01:27 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  4. compat/maven-artifact/src/main/java/org/apache/maven/repository/Proxy.java

        }
    
        /**
         * Get the proxy username.
         *
         * @return username for the proxy server
         */
        public String getUserName() {
            return userName;
        }
    
        /**
         * Set the proxy username.
         *
         * @param userName username for the proxy server
         */
        public void setUserName(String userName) {
            this.userName = userName;
        }
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4K bytes
    - Viewed (0)
  5. fastapi/security/oauth2.py

                    """
                ),
            ] = None,
            username: Annotated[
                str,
                Form(),
                Doc(
                    """
                    `username` string. The OAuth2 spec requires the exact field name
                    `username`.
                    """
                ),
            ],
            password: Annotated[
                str,
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 23 18:30:18 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  6. .github/workflows/sigbuild-docker.yml

            with:
              username: ${{ secrets.DOCKERHUB_USERNAME }}
              password: ${{ secrets.DOCKERHUB_TOKEN }}
          -
            name: Login to GCR
            uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0
            with:
              registry: gcr.io
              username: _json_key
              password: ${{ secrets.GCP_CREDS }}
          -
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Fri Nov 01 08:40:10 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  7. docs/pt/docs/tutorial/security/simple-oauth2.md

    ## Pegue o `username` (nome de usuário) e `password` (senha)
    
    É utilizado o utils de segurança da **FastAPI** para obter o `username` e a `password`.
    
    OAuth2 especifica que ao usar o "password flow" (fluxo de senha), que estamos usando, o cliente/usuário deve enviar os campos `username` e `password` como dados do formulário.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Oct 31 12:17:45 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  8. docs/de/docs/advanced/security/http-basic-auth.md

    Um dies zu lösen, konvertieren wir zunächst den `username` und das `password` in UTF-8-codierte `bytes`.
    
    Dann können wir `secrets.compare_digest()` verwenden, um sicherzustellen, dass `credentials.username` `"stanleyjobson"` und `credentials.password` `"swordfish"` ist.
    
    {* ../../docs_src/security/tutorial007_an_py39.py hl[1,12:24] *}
    
    Dies wäre das gleiche wie:
    
    ```Python
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 15:25:54 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  9. src/main/webapp/WEB-INF/view/index.jsp

    							</c:if>
    							<c:choose>
    								<c:when test="${!empty username && username != 'guest'}">
    									<li class="nav-item">
    										<div class="dropdown">
    											<a class="nav-link dropdown-toggle" data-toggle="dropdown"
    												href="#" role="button" aria-haspopup="true"
    												aria-expanded="false"> <em class="fa fa-fw fa-user">${username}
    											</a>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:07:52 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  10. src/main/webapp/WEB-INF/orig/view/login/index.jsp

    				<la:form styleId="login" method="post">
    					<div class="input-group mb-3">
    						<c:set var="ph_username">
    							<la:message key="labels.login.placeholder_username" />
    						</c:set>
    						<la:text property="username" styleId="username"
    							class="form-control" placeholder="${ph_username}" />
    						<div class="input-group-append">
    							<span class="input-group-text">
    								<em class="fa fa-user fa-fw">
                				</span>
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:07:52 UTC 2024
    - 3K bytes
    - Viewed (0)
Back to top