- Sort Score
- Num 10 results
- Language All
Results 781 - 790 of 1,150 for simpler (0.28 seconds)
-
docs/zh-hant/docs/tutorial/extra-models.md
# 額外的模型 { #extra-models } 延續前一個範例,通常會有不只一個彼此相關的模型。 對使用者模型尤其如此,因為: * 「輸入模型」需要能包含密碼。 * 「輸出模型」不應包含密碼。 * 「資料庫模型」通常需要儲存雜湊後的密碼。 /// danger 切勿儲存使用者的明文密碼。務必只儲存可供驗證的「安全雜湊」。 若你還不清楚,稍後會在[安全性章節](security/simple-oauth2.md#password-hashing)學到什麼是「密碼雜湊」。 /// ## 多個模型 { #multiple-models } 以下是模型大致長相、與其密碼欄位以及它們被使用的位置: {* ../../docs_src/extra_models/tutorial001_py310.py hl[7,9,14,20,22,27:28,31:33,38:39] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 6.3K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/timer/MonitorTargetTest.java
// Verify a timestamp was properly formatted assertNotNull(result); assertTrue(result.length() > "\"timestamp\":\"\"".length()); } // Test appendException method with simple exception @Test public void test_appendException_simpleException() { StringBuilder buf = new StringBuilder(); Exception exception = new RuntimeException("Test error message");Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 11.3K bytes - Click Count (0) -
src/main/java/jcifs/smb/compression/DefaultCompressionService.java
if (data == null || data.length == 0) { return 1.0; } if (algorithm == COMPRESSION_NONE) { return 1.0; } // Simple heuristic based on data entropy // In practice, this would be more sophisticated int uniqueBytes = countUniqueBytes(data); double entropy = (double) uniqueBytes / 256.0;
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 11.2K bytes - Click Count (0) -
docs/en/mkdocs.yml
- tutorial/dependencies/dependencies-with-yield.md - Security: - tutorial/security/index.md - tutorial/security/first-steps.md - tutorial/security/get-current-user.md - tutorial/security/simple-oauth2.md - tutorial/security/oauth2-jwt.md - tutorial/middleware.md - tutorial/cors.md - tutorial/sql-databases.md - tutorial/bigger-applications.md - tutorial/stream-json-lines.mdCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Apr 01 16:16:24 GMT 2026 - 9.9K bytes - Click Count (0) -
docs/ko/docs/advanced/security/http-basic-auth.md
그리고 값이 `Basic`이고 선택적으로 `realm` 파라미터를 포함하는 `WWW-Authenticate` 헤더를 반환합니다. 이는 브라우저가 사용자명과 비밀번호를 입력하는 통합 프롬프트를 표시하도록 알려줍니다. 그다음 사용자명과 비밀번호를 입력하면, 브라우저가 자동으로 해당 값을 헤더에 담아 전송합니다. ## 간단한 HTTP Basic Auth { #simple-http-basic-auth } * `HTTPBasic`과 `HTTPBasicCredentials`를 임포트합니다. * `HTTPBasic`을 사용해 "`security` scheme"을 생성합니다. * *경로 처리*에서 dependency로 해당 `security`를 사용합니다. * `HTTPBasicCredentials` 타입의 객체를 반환합니다:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:06:26 GMT 2026 - 5.9K bytes - Click Count (0) -
docs/zh/docs/tutorial/extra-models.md
# 更多模型 { #extra-models } 书接上文,多个关联模型这种情况很常见。 特别是用户模型,因为: * **输入模型**应该含密码 * **输出模型**不应含密码 * **数据库模型**可能需要包含哈希后的密码 /// danger | 危险 不要存储用户的明文密码。始终只存储之后可用于校验的“安全哈希”。 如果你还不了解,可以在[安全性章节](security/simple-oauth2.md#password-hashing)中学习什么是“密码哈希”。 /// ## 多个模型 { #multiple-models } 下面的代码展示了不同模型处理密码字段的方式,及使用位置的大致思路: {* ../../docs_src/extra_models/tutorial001_py310.py hl[7,9,14,20,22,27:28,31:33,38:39] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 6.5K bytes - Click Count (0) -
internal/event/target/postgresql.go
return 'a' case unicode.IsDigit(r): return '0' case r == '_', r == '$': return r default: valid = false return -1 } }, name) if valid { // check for simple name or quoted name // - letter/underscore followed by one or more letter/digit/underscore // - any text between quotes (text cannot contain a quote itself)
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Mar 30 00:56:02 GMT 2025 - 13.3K bytes - Click Count (0) -
samples/crawler/src/main/java/okhttp3/sample/Crawler.java
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3.sample; import java.io.File; import java.io.IOException; import java.util.Collections; import java.util.LinkedHashSet; import java.util.Set; import java.util.concurrent.BlockingQueue;
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Jul 23 00:58:06 GMT 2025 - 5K bytes - Click Count (0) -
samples/static-server/src/main/java/okhttp3/sample/SampleServer.java
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3.sample; import java.io.File; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStream; import java.security.GeneralSecurityException;
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 11 02:37:00 GMT 2026 - 5.3K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/EqualsTester.java
import java.util.ArrayList; import java.util.List; import org.jspecify.annotations.NullMarked; import org.jspecify.annotations.Nullable; /** * Tester for equals() and hashCode() methods of a class. * * <p>The simplest use case is: * * <pre> * new EqualsTester().addEqualityGroup(foo).testEquals(); * </pre> * * <p>This tests {@code foo.equals(foo)}, {@code foo.equals(null)}, and a few other operations. *
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Aug 09 01:14:59 GMT 2025 - 6.1K bytes - Click Count (0)