Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 124 for dashed (0.47 sec)

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

    If your database is stolen, the thief won't have your users' plaintext passwords, only the hashes.
    
    So, the thief won't be able to try to use that password in another system (as many users use the same password everywhere, this would be dangerous).
    
    ## Install `passlib`
    
    PassLib is a great Python package to handle password hashes.
    
    It supports many secure hashing algorithms and utilities to work with them.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 13K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/cache/CacheStrategy.kt

         * first initiated.
         */
        private var sentRequestMillis = 0L
    
        /**
         * Extension header set by OkHttp specifying the timestamp when the cached HTTP response was
         * first received.
         */
        private var receivedResponseMillis = 0L
    
        /** Etag of the cached response. */
        private var etag: String? = null
    
        /** Age of the cached response. */
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Apr 15 13:24:48 GMT 2024
    - 12K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/security/simple-oauth2.md

    ```Python
    UserInDB(
        username = user_dict["username"],
        email = user_dict["email"],
        full_name = user_dict["full_name"],
        disabled = user_dict["disabled"],
        hashed_password = user_dict["hashed_password"],
    )
    ```
    
    !!! info
        For a more complete explanation of `**user_dict` check back in [the documentation for **Extra Models**](../extra-models.md#about-user_indict){.internal-link target=_blank}.
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/extra-models.md

    And then adding the extra keyword argument `hashed_password=hashed_password`, like in:
    
    ```Python
    UserInDB(**user_in.dict(), hashed_password=hashed_password)
    ```
    
    ...ends up being like:
    
    ```Python
    UserInDB(
        username = user_dict["username"],
        password = user_dict["password"],
        email = user_dict["email"],
        full_name = user_dict["full_name"],
        hashed_password = hashed_password,
    )
    ```
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 7.7K bytes
    - Viewed (1)
  5. docs/em/docs/tutorial/extra-models.md

    & ‴️ ❎ βž• πŸ‡¨πŸ‡» ❌ `hashed_password=hashed_password`, πŸ’–:
    
    ```Python
    UserInDB(**user_in.dict(), hashed_password=hashed_password)
    ```
    
    ...πŸ”š πŸ†™ πŸ’†β€β™‚ πŸ’–:
    
    ```Python
    UserInDB(
        username = user_dict["username"],
        password = user_dict["password"],
        email = user_dict["email"],
        full_name = user_dict["full_name"],
        hashed_password = hashed_password,
    )
    ```
    
    !!! warning
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  6. cmd/erasure-metadata-utils.go

    	diskCount := 0
    	for _, disk := range disks {
    		if disk == nil {
    			continue
    		}
    		diskCount++
    	}
    	return diskCount
    }
    
    // hashOrder - hashes input key to return consistent
    // hashed integer slice. Returned integer order is salted
    // with an input key. This results in consistent order.
    // NOTE: collisions are fine, we are not looking for uniqueness
    // in the slices returned.
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  7. internal/hash/checksum.go

    }
    
    // Matches returns whether given content matches c.
    func (c Checksum) Matches(content []byte) error {
    	if len(c.Encoded) == 0 {
    		return nil
    	}
    	hasher := c.Type.Hasher()
    	_, err := hasher.Write(content)
    	if err != nil {
    		return err
    	}
    	sum := hasher.Sum(nil)
    	if !bytes.Equal(sum, c.Raw) {
    		return ChecksumMismatch{
    			Want: c.Encoded,
    			Got:  base64.StdEncoding.EncodeToString(sum),
    		}
    	}
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  8. docs/zh/docs/tutorial/security/simple-oauth2.md

    ```Python
    UserInDB(
        username = user_dict["username"],
        email = user_dict["email"],
        full_name = user_dict["full_name"],
        disabled = user_dict["disabled"],
        hashed_password = user_dict["hashed_password"],
    )
    ```
    
    !!! info "说明"
    
        `user_dict` ηš„θ―΄ζ˜ŽοΌŒθ―¦θ§[**ζ›΄ε€šζ¨‘εž‹**δΈ€η« ](../extra-models.md#user_indict){.internal-link target=_blank}。
    
    ## θΏ”ε›ž Token
    
    `token` η«―η‚Ήηš„ε“εΊ”εΏ…ι‘»ζ˜― JSON 对豑。
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 8.8K bytes
    - Viewed (0)
  9. cmd/metacache-entries.go

    		return selected, true
    	}
    
    	// If cached is nil we shall skip the entry.
    	if selected.cached == nil {
    		return nil, false
    	}
    
    	// Merge if we have disagreement.
    	// Create a new merged result.
    	selected = &metaCacheEntry{
    		name:     selected.name,
    		reusable: true,
    		cached:   &xlMetaV2{metaV: selected.cached.metaV},
    	}
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Fri Apr 19 16:43:43 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  10. docs/em/docs/tutorial/security/simple-oauth2.md

    ```Python
    UserInDB(
        username = user_dict["username"],
        email = user_dict["email"],
        full_name = user_dict["full_name"],
        disabled = user_dict["disabled"],
        hashed_password = user_dict["hashed_password"],
    )
    ```
    
    !!! info
        πŸŒ… 🏁 πŸ”‘ `**πŸ‘©β€πŸ’»_ #️⃣ ` βœ… πŸ”™ [🧾 **βž• 🏷**](../extra-models.md#user_indict){.internal-link target=_blank}.
    
    ## πŸ“¨ 🀝
    
    πŸ“¨ `token` πŸ”— πŸ”œ 🎻 🎚.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 8.9K bytes
    - Viewed (0)
Back to top