Search Options

Results per page
Sort
Preferred Languages
Advance

Results 481 - 490 of 552 for authenticator (0.05 sec)

  1. 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
    }
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Thu Apr 24 15:33:57 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  2. docs/zh/docs/advanced/security/oauth2-scopes.md

    (类 `SecurityScopes` 的)`security_scopes` 对象还提供了单字符串类型的属性 `scope_str`,该属性是(要在本例中使用的)用空格分割的作用域。
    
    此处还创建了后续代码中要复用(`raise`)的 `HTTPException` 。
    
    该异常包含了作用域所需的(如有),以空格分割的字符串(使用 `scope_str`)。该字符串要放到包含作用域的 `WWW-Authenticate` 请求头中(这也是规范的要求)。
    
    {* ../../docs_src/security/tutorial005.py hl[105,107:115] *}
    
    ## 校验 `username` 与数据形状
    
    我们可以校验是否获取了 `username`,并抽取作用域。
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Dec 29 20:41:04 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  3. docs/ru/docs/advanced/security/oauth2-scopes.md

    В этом исключении мы включаем требуемые scopes (если есть) в виде строки, разделённой пробелами (используя `scope_str`). Эту строку со scopes мы помещаем в HTTP‑заголовок `WWW-Authenticate` (это часть спецификации).
    
    {* ../../docs_src/security/tutorial005_an_py310.py hl[106,108:116] *}
    
    ## Проверка `username` и формата данных { #verify-the-username-and-data-shape }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Sep 30 11:37:11 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/crypto/CachedCipher.java

     * <li>Ensure keys are securely generated and stored</li>
     * <li>For production systems with stringent security requirements, consider using authenticated encryption modes</li>
     * </ul>
     * <p>
     * <strong>Usage Example:</strong>
     * </p>
     * <pre>
     * CachedCipher cipher = new CachedCipher();
     * cipher.setKey("mySecretKey");
     *
     * // Encrypt text
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/config/DelegatingConfigurationTest.java

            verify(mockDelegate).getTransactionBufferSize();
            verify(mockDelegate).getBufferCacheSize();
            verify(mockDelegate).getNotifyBufferSize();
        }
    
        @Test
        @DisplayName("Authentication configuration should delegate correctly")
        void testAuthenticationConfigurationDelegation() {
            // Given
            when(mockDelegate.getLanManCompatibility()).thenReturn(3);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  6. 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 MultiChannelManager
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 20.5K bytes
    - Viewed (0)
  7. cmd/metrics.go

    			return
    		}
    
    		cred := auth.Credentials{
    			AccessKey: claims.AccessKey,
    			Claims:    claims.Map(),
    			Groups:    groups,
    		}
    
    		// For authenticated users apply IAM policy.
    		if !globalIAMSys.IsAllowed(policy.Args{
    			AccountName:     cred.AccessKey,
    			Groups:          cred.Groups,
    			Action:          policy.PrometheusAdminAction,
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Oct 24 04:06:31 UTC 2025
    - 16.7K bytes
    - Viewed (0)
  8. 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);
            }
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 30.4K bytes
    - Viewed (1)
  9. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HpackTest.kt

        bytesIn.writeByte(0x7d) // == Literal indexed ==
        // Indexed name (idx = 60) -> "www-authenticate"
        bytesIn.writeByte(0x05) // Literal value (len = 5)
        bytesIn.writeUtf8("Basic")
        hpackReader!!.readHeaders()
        assertThat(hpackReader!!.getAndResetHeaderList())
          .containsExactly(Header("www-authenticate", "Basic"))
      }
    
      @Test
      fun readLiteralHeaderWithIncrementalIndexingDynamicName() {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 38.6K bytes
    - Viewed (0)
  10. cmd/batch-rotate.go

    //   notify:
    //     endpoint: "https://notify.endpoint" # notification endpoint to receive job status events
    //     token: "Bearer xxxxx" # optional authentication token for the notification endpoint
    
    //   retry:
    //     attempts: 10 # number of retries for the job before giving up
    //     delay: "500ms" # least amount of delay between each retry
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 14.7K bytes
    - Viewed (0)
Back to top