Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 81 - 90 of 486 for token5 (0.05 seconds)

  1. src/main/java/org/codelibs/fess/opensearch/config/cbean/cq/bs/BsAccessTokenCQ.java

        public void setToken_Equal(String token) {
            setToken_Term(token, null);
        }
    
        public void setToken_Equal(String token, ConditionOptionCall<TermQueryBuilder> opLambda) {
            setToken_Term(token, opLambda);
        }
    
        public void setToken_Term(String token) {
            setToken_Term(token, null);
        }
    
        public void setToken_Term(String token, ConditionOptionCall<TermQueryBuilder> opLambda) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 71.8K bytes
    - Click Count (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/MediaType.kt

      override fun hashCode(): Int = mediaType.hashCode()
    
      companion object {
        private const val TOKEN = "([a-zA-Z0-9-!#$%&'*+.^_`{|}~]+)"
        private const val QUOTED = "\"([^\"]*)\""
        private val TYPE_SUBTYPE = Regex("$TOKEN/$TOKEN")
        private val PARAMETER = Regex(";\\s*(?:$TOKEN=(?:$TOKEN|$QUOTED))?")
    
        /**
         * Returns a media type for this string.
         *
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 5.9K bytes
    - Click Count (0)
  3. src/main/java/jcifs/pac/kerberos/KerberosAuthData.java

         *
         * @param authType the type of authorization data
         * @param token the authorization data token
         * @param keys the Kerberos keys for decryption
         * @return a list of parsed authorization data
         * @throws PACDecodingException if the data cannot be decoded
         */
        public static List<KerberosAuthData> parse(int authType, byte[] token, Map<Integer, KerberosKey> keys) throws PACDecodingException {
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  4. docs_src/app_testing/app_b_an_py310/test_main.py

    
    def test_read_nonexistent_item():
        response = client.get("/items/baz", headers={"X-Token": "coneofsilence"})
        assert response.status_code == 404
        assert response.json() == {"detail": "Item not found"}
    
    
    def test_create_item():
        response = client.post(
            "/items/",
            headers={"X-Token": "coneofsilence"},
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Aug 15 22:31:16 GMT 2024
    - 1.8K bytes
    - Click Count (0)
  5. docs/ru/docs/tutorial/header-params.md

    Например, чтобы объявить заголовок `X-Token`, который может появляться более одного раза, вы можете написать:
    
    {* ../../docs_src/header_params/tutorial003_an_py310.py hl[9] *}
    
    Если вы взаимодействуете с этой *операцией пути*, отправляя два HTTP-заголовка, таких как:
    
    ```
    X-Token: foo
    X-Token: bar
    ```
    
    Ответ был бы таким:
    
    ```JSON
    {
        "X-Token values": [
            "bar",
            "foo"
        ]
    }
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Sep 30 11:24:39 GMT 2025
    - 5K bytes
    - Click Count (0)
  6. tests/test_security_oauth2_password_bearer_optional.py

    from inline_snapshot import snapshot
    
    app = FastAPI()
    
    oauth2_scheme = OAuth2PasswordBearer(tokenUrl="/token", auto_error=False)
    
    
    @app.get("/items/")
    async def read_items(token: str | None = Security(oauth2_scheme)):
        if token is None:
            return {"msg": "Create an account first"}
        return {"token": token}
    
    
    client = TestClient(app)
    
    
    def test_no_token():
        response = client.get("/items")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 2.2K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/helper/AccessTokenHelper.java

        /**
         * Generate the access token.
         * @return The access token.
         */
        public String generateAccessToken() {
            return RandomStringUtils.random(ComponentUtil.getFessConfig().getApiAccessTokenLengthAsInteger(), 0, 0, true, true, null, random);
        }
    
        /**
         * Get the access token from the request.
         * @param request The request.
         * @return The access token.
         */
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Jul 17 08:28:31 GMT 2025
    - 2.6K bytes
    - Click Count (0)
  8. src/test/java/jcifs/smb/SSPContextTest.java

            @Override
            public byte[] initSecContext(byte[] token, int off, int len) throws CIFSException {
                if (token == null) {
                    if (len == 0) {
                        return new byte[0];
                    }
                    throw new CIFSException("token is null but len > 0");
                }
                if (off < 0 || len < 0 || off > token.length || off + len > token.length) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 15.2K bytes
    - Click Count (0)
  9. tests/test_dependency_paramless.py

        response = client.get("/get-credentials", headers={"authorization": "Bearer token"})
        assert response.status_code == 200, response.text
        assert response.json() == {"token": "token", "scopes": ["a", "b"]}
    
    
    def test_parameterless_with_scopes():
        response = client.get(
            "/parameterless-with-scopes", headers={"authorization": "Bearer token"}
        )
        assert response.status_code == 200, response.text
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 2.3K bytes
    - Click Count (0)
  10. docs/pt/docs/how-to/conditional-openapi.md

    * Configure quaisquer permissões e funções necessárias usando dependências.
    * Nunca armazene senhas em texto simples, apenas hashes de senha.
    * Implemente e use ferramentas criptográficas bem conhecidas, como pwdlib e tokens JWT, etc.
    * Adicione controles de permissão mais granulares com escopos OAuth2 quando necessário.
    * ...etc.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 2.6K bytes
    - Click Count (0)
Back to Top