Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 536 for Password (0.18 sec)

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

    If the passwords don't match, we return the same error.
    
    #### Password hashing
    
    "Hashing" means: converting some content (a password in this case) into a sequence of bytes (just a string) that looks like gibberish.
    
    Whenever you pass exactly the same content (exactly the same password) you get exactly the same gibberish.
    
    Registered: 2025-05-25 07:19
    - Last Modified: 2024-11-18 02:25
    - 9K bytes
    - Viewed (0)
  2. docs/es/docs/tutorial/security/simple-oauth2.md

    Si los passwords no coinciden, devolvemos el mismo error.
    
    #### Hashing de passwords
    
    "Hacer hash" significa: convertir algún contenido (un password en este caso) en una secuencia de bytes (solo un string) que parece un galimatías.
    
    Siempre que pases exactamente el mismo contenido (exactamente el mismo password) obtienes exactamente el mismo galimatías.
    
    Registered: 2025-05-25 07:19
    - Last Modified: 2024-12-30 18:26
    - 9.9K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbComTreeConnectAndX.java

                } else {
                    // plain text
                    password = new byte[(session.auth.password.length() + 1) * 2];
                    passwordLength = writeString( session.auth.password, password, 0 );
                }
            } else {
                // no password in tree connect
                passwordLength = 1;
            }
    
    Registered: 2025-05-25 00:10
    - Last Modified: 2019-03-22 21:10
    - 6.8K bytes
    - Viewed (0)
  4. docs/de/docs/tutorial/security/simple-oauth2.md

    # Einfaches OAuth2 mit Password und Bearer
    
    Lassen Sie uns nun auf dem vorherigen Kapitel aufbauen und die fehlenden Teile hinzufügen, um einen vollständigen Sicherheits-Flow zu erhalten.
    
    ## `username` und `password` entgegennehmen
    
    Wir werden **FastAPIs** Sicherheits-Werkzeuge verwenden, um den `username` und das `password` entgegenzunehmen.
    
    Registered: 2025-05-25 07:19
    - Last Modified: 2024-11-18 02:25
    - 10.7K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb1/com/SmbComTreeConnectAndX.java

                    throw new RuntimeCIFSException("Plain text passwords are disabled");
                }
                else {
                    // plain text
                    this.password = new byte[ ( pwAuth.getPassword().length() + 1 ) * 2];
                    this.passwordLength = writeString(pwAuth.getPassword(), this.password, 0);
                }
            }
            else {
                // no password in tree connect
                this.passwordLength = 1;
    Registered: 2025-05-25 00:10
    - Last Modified: 2018-07-01 13:12
    - 6.6K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/extra-models.md

    * The **input model** needs to be able to have a password.
    * The **output model** should not have a password.
    * The **database model** would probably need to have a hashed password.
    
    /// danger
    
    Never store user's plaintext passwords. Always store a "secure hash" that you can then verify.
    
    If you don't know, you will learn what a "password hash" is in the [security chapters](security/simple-oauth2.md#password-hashing){.internal-link target=_blank}.
    
    ///
    Registered: 2025-05-25 07:19
    - Last Modified: 2025-01-30 12:21
    - 6.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/NtlmPasswordAuthentication.java

            this.username = username;
            this.password = password;
    
            initDefaults();
    
            if( domain == null ) this.domain = DEFAULT_DOMAIN;
            if( username == null ) this.username = DEFAULT_USERNAME;
            if( password == null ) this.password = DEFAULT_PASSWORD;
        }
    /**
     * Create an <tt>NtlmPasswordAuthentication</tt> object with raw password
    Registered: 2025-05-25 00:10
    - Last Modified: 2019-03-22 21:10
    - 22.5K bytes
    - Viewed (0)
  8. tests/test_security_oauth2.py

            pytest.param("incorrect", id="incorrect value"),
            pytest.param("passwordblah", id="password with suffix"),
            pytest.param("blahpassword", id="password with prefix"),
        ],
    )
    def test_strict_login_incorrect_grant_type(grant_type: str):
        response = client.post(
            "/login",
            data={"username": "johndoe", "password": "secret", "grant_type": grant_type},
        )
        assert response.status_code == 422
    Registered: 2025-05-25 07:19
    - Last Modified: 2025-01-30 12:17
    - 11K bytes
    - Viewed (0)
  9. tests/test_security_oauth2_optional_description.py

            pytest.param("incorrect", id="incorrect value"),
            pytest.param("passwordblah", id="password with suffix"),
            pytest.param("blahpassword", id="password with prefix"),
        ],
    )
    def test_strict_login_incorrect_grant_type(grant_type: str):
        response = client.post(
            "/login",
            data={"username": "johndoe", "password": "secret", "grant_type": grant_type},
        )
        assert response.status_code == 422
    Registered: 2025-05-25 07:19
    - Last Modified: 2025-01-30 12:17
    - 11.2K bytes
    - Viewed (0)
  10. fastapi/security/oauth2.py

    class OAuth2PasswordRequestForm:
        """
        This is a dependency class to collect the `username` and `password` as form data
        for an OAuth2 password flow.
    
        The OAuth2 specification dictates that for a password flow the data should be
        collected using form data (instead of JSON) and that it should have the specific
        fields `username` and `password`.
    
        All the initialization parameters are extracted from the request.
    
    Registered: 2025-05-25 07:19
    - Last Modified: 2025-01-30 12:17
    - 21.1K bytes
    - Viewed (0)
Back to top