- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 563 for password (0.06 sec)
-
docs/en/docs/tutorial/security/simple-oauth2.md
``` //// ### Check the password At this point we have the user data from our database, but we haven't checked the password. Let's put that data in the Pydantic `UserInDB` model first. You should never save plaintext passwords, so, we'll use the (fake) password hashing system. If the passwords don't match, we return the same error. #### Password hashing
Registered: 2024-11-03 07:19 - Last Modified: 2024-10-06 20:36 - 12.3K bytes - Viewed (0) -
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/DefaultSettingsDecrypter.java
server = server.clone(); String password = server.getPassword(); if (securityDispatcher.isAnyEncryptedString(password)) { try { if (securityDispatcher.isLegacyEncryptedString(password)) { problems.add(new DefaultSettingsProblem( "Legacy/insecurely encrypted password detected for server " + server.getId(),
Registered: 2024-11-03 03:35 - Last Modified: 2024-10-25 12:31 - 5.8K bytes - Viewed (0) -
docs/de/docs/tutorial/security/simple-oauth2.md
#### Passwort-Hashing „Hashing“ bedeutet: Konvertieren eines Inhalts (in diesem Fall eines Passworts) in eine Folge von Bytes (ein schlichter String), die wie Kauderwelsch aussieht. Immer wenn Sie genau den gleichen Inhalt (genau das gleiche Passwort) übergeben, erhalten Sie genau den gleichen Kauderwelsch. Sie können jedoch nicht vom Kauderwelsch zurück zum Passwort konvertieren. ##### Warum Passwort-Hashing verwenden?
Registered: 2024-11-03 07:19 - Last Modified: 2024-10-06 20:36 - 14.1K bytes - Viewed (0) -
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: 2024-11-03 00:10 - Last Modified: 2019-03-22 21:10 - 22.5K bytes - Viewed (0) -
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: 2024-11-03 00:10 - Last Modified: 2019-03-22 21:10 - 6.8K bytes - Viewed (0) -
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: 2024-11-03 00:10 - Last Modified: 2018-07-01 13:12 - 6.6K bytes - Viewed (0) -
tests/test_tutorial/test_request_form_models/test_tutorial002_an.py
response = client.post("/login/", data={"username": "Foo", "password": "secret"}) assert response.status_code == 200 assert response.json() == {"username": "Foo", "password": "secret"} @needs_pydanticv2 def test_post_body_extra_form(client: TestClient): response = client.post( "/login/", data={"username": "Foo", "password": "secret", "extra": "extra"} ) assert response.status_code == 422
Registered: 2024-11-03 07:19 - Last Modified: 2024-09-06 17:31 - 6.2K bytes - Viewed (0) -
docs/en/docs/tutorial/security/oauth2-jwt.md
/// ## 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. But you cannot convert from the gibberish back to the password. ### Why use password hashing
Registered: 2024-11-03 07:19 - Last Modified: 2024-10-26 11:45 - 12.8K bytes - Viewed (0) -
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: 2024-11-03 07:19 - Last Modified: 2024-10-23 18:30 - 21.1K bytes - Viewed (0) -
tests/test_tutorial/test_request_form_models/test_tutorial002_pv1.py
response = client.post("/login/", data={"username": "Foo", "password": "secret"}) assert response.status_code == 200 assert response.json() == {"username": "Foo", "password": "secret"} @needs_pydanticv1 def test_post_body_extra_form(client: TestClient): response = client.post( "/login/", data={"username": "Foo", "password": "secret", "extra": "extra"} ) assert response.status_code == 422
Registered: 2024-11-03 07:19 - Last Modified: 2024-09-06 17:31 - 6K bytes - Viewed (0)