- Sort Score
- Num 10 results
- Language All
Results 511 - 520 of 608 for authenticator (0.08 seconds)
-
docs/zh/docs/advanced/security/oauth2-scopes.md
`security_scopes` 对象(类型为 `SecurityScopes`)还提供了一个 `scope_str` 属性,它是一个用空格分隔这些作用域的单个字符串(我们将会用到它)。 我们创建一个 `HTTPException`,后面可以在多个位置复用(`raise`)它。 在这个异常中,我们包含所需的作用域(如果有的话),以空格分隔的字符串(使用 `scope_str`)。我们把这个包含作用域的字符串放在 `WWW-Authenticate` 响应头中(这是规范要求的一部分)。 {* ../../docs_src/security/tutorial005_an_py310.py hl[106,108:116] *} ## 校验 `username` 与数据形状 { #verify-the-username-and-data-shape } 我们校验是否获取到了 `username`,并提取作用域。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 13K bytes - Click Count (0) -
docs/zh-hant/docs/advanced/security/oauth2-scopes.md
`security_scopes` 物件(類別 `SecurityScopes`)也提供 `scope_str` 屬性,為一個字串,包含那些以空白分隔的 scopes(我們會用到)。 我們建立一個可在多處重複丟出(`raise`)的 `HTTPException`。 在這個例外中,我們把所需的 scopes(若有)以空白分隔的字串形式(透過 `scope_str`)加入,並將該包含 scopes 的字串放在 `WWW-Authenticate` 標頭中(這是規格的一部分)。 {* ../../docs_src/security/tutorial005_an_py310.py hl[106,108:116] *} ## 驗證 `username` 與資料結構 { #verify-the-username-and-data-shape } 我們先確認取得了 `username`,並取出 scopes。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 12.7K bytes - Click Count (0) -
internal/kms/kms.go
// It must match the data used during encryption // or data key generation. AssociatedData Context } // MACRequest is a structure containing fields // and options for generating message authentication // codes (MAC). type MACRequest struct { // Name is the name of the master key used decrypt // the ciphertext. Name string Version int Message []byte }
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Thu Apr 24 15:33:57 GMT 2025 - 11.4K bytes - Click Count (0) -
src/test/java/jcifs/dcerpc/DcerpcMessageTest.java
assertThrows(NdrException.class, () -> message.decode_header(mockBuffer)); } @Test @DisplayName("decode_header should throw NdrException for non-zero authentication length") void testDecodeHeaderThrowsNdrExceptionForAuthentication() { when(mockBuffer.dec_ndr_small()).thenReturn(5) .thenReturn(0)
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 18.3K bytes - Click Count (0) -
internal/rest/client.go
if c.TraceOutput != nil && resp.StatusCode != http.StatusOK { c.dumpHTTP(req, resp) } if resp.StatusCode != http.StatusOK { // If server returns 412 pre-condition failed, it would // mean that authentication succeeded, but another // side-channel check has failed, we shall take // the client offline in such situations. // generally all implementations should simply return
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 14.7K bytes - Click Count (0) -
docs/de/docs/advanced/security/oauth2-scopes.md
In diese Exception fügen wir (falls vorhanden) die erforderlichen Scopes als durch Leerzeichen getrennten String ein (unter Verwendung von `scope_str`). Wir fügen diesen String mit den Scopes in den Header `WWW-Authenticate` ein (das ist Teil der Spezifikation). {* ../../docs_src/security/tutorial005_an_py310.py hl[106,108:116] *} ## Den `username` und das Format der Daten überprüfen { #verify-the-username-and-data-shape }
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:58:09 GMT 2026 - 15.7K bytes - Click Count (0) -
docs/zh/docs/features.md
* 数字 (`int`, `float`) 有最大值和最小值,等等。 * 校验外来类型,比如: * URL。 * Email。 * UUID。 * ...及其他。 所有的校验都由完善且强大的 **Pydantic** 处理。 ### 安全性及身份验证 { #security-and-authentication } 集成了安全性和身份认证。杜绝数据库或者数据模型的渗透风险。 OpenAPI 中定义的安全模式,包括: * HTTP 基本认证。 * **OAuth2**(也使用 **JWT tokens**)。在 [使用 JWT 的 OAuth2](tutorial/security/oauth2-jwt.md) 查看教程。 * API 密钥,在: * 请求头。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 8.7K bytes - Click Count (0) -
src/main/java/jcifs/smb/SmbTreeConnection.java
log.trace("doConnect: " + addr); } t.treeConnect(null, null); return t.acquire(); } catch (final SmbAuthException sae) { log.debug("Authentication failed", sae); return retryAuthentication(loc, share, trans, t, referral, sae); } }
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 30 05:58:03 GMT 2025 - 30.4K bytes - Click Count (1) -
src/main/java/jcifs/smb/MultiChannelManager.java
/** * Creates a default CIFSContext for multi-channel operations. * In a production implementation, this should be replaced with proper context sharing * from the main session to ensure consistent authentication and configuration. */ private jcifs.CIFSContext createDefaultContext() throws CIFSException { try { // Use the configuration from the MultiChannelManagerCreated: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sun Aug 31 08:00:57 GMT 2025 - 20.5K bytes - Click Count (0) -
cmd/metrics.go
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Oct 24 04:06:31 GMT 2025 - 16.7K bytes - Click Count (0)