Search Options

Results per page
Sort
Preferred Languages
Advance

Results 211 - 220 of 653 for toSend (0.14 sec)

  1. docs_src/dependencies/tutorial012_py39.py

    from fastapi import Depends, FastAPI, Header, HTTPException
    
    
    async def verify_token(x_token: str = Header()):
        if x_token != "fake-super-secret-token":
            raise HTTPException(status_code=400, detail="X-Token header invalid")
    
    
    async def verify_key(x_key: str = Header()):
        if x_key != "fake-super-secret-key":
            raise HTTPException(status_code=400, detail="X-Key header invalid")
        return x_key
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 696 bytes
    - Viewed (0)
  2. internal/s3select/unused-errors.go

    	return &s3Error{
    		code:       "ParseExpectedTokenType",
    		message:    "Did not find the expected token in the SQL expression.",
    		statusCode: 400,
    		cause:      err,
    	}
    }
    
    func errParseExpected2TokenTypes(err error) *s3Error {
    	return &s3Error{
    		code:       "ParseExpected2TokenTypes",
    		message:    "Did not find the expected token in the SQL expression.",
    		statusCode: 400,
    		cause:      err,
    	}
    }
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Feb 20 08:16:35 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbSession.java

                                state = 0;
                                break;
                            }
    
                            try {
                                token = nctx.initSecContext(token, 0, token.length);
                            } catch (final SmbException se) {
                                /* We must close the transport or the server will be expecting a
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  4. docs/sts/client_grants/__init__.py

        """
        METHOD = 'assume-role-client-grants'
        CANONICAL_NAME = 'AssumeRoleClientGrants'
    
        def __init__(self, cid, csec,
                     idp_ep='http://localhost:8080/auth/realms/minio/protocol/openid-connect/token',
                     sts_ep='http://localhost:9000'):
            self.cid = cid
            self.csec = csec
            self.idp_ep = idp_ep
            self.sts_ep = sts_ep
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Apr 23 18:58:53 UTC 2021
    - 4.6K bytes
    - Viewed (0)
  5. docs/ko/docs/tutorial/header-params.md

    타입 정의에서 리스트를 사용하여 이러한 케이스를 정의할 수 있습니다.
    
    중복 헤더의 모든 값을 파이썬 `list`로 수신합니다.
    
    예를 들어, 두 번 이상 나타날 수 있는 `X-Token`헤더를 선언하려면, 다음과 같이 작성합니다:
    
    {* ../../docs_src/header_params/tutorial003.py hl[9] *}
    
    다음과 같은 두 개의 HTTP 헤더를 전송하여 해당 *경로* 와 통신할 경우:
    
    ```
    X-Token: foo
    X-Token: bar
    ```
    
    응답은 다음과 같습니다:
    
    ```JSON
    {
        "X-Token values": [
            "bar",
            "foo"
        ]
    }
    ```
    
    ## 요약
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/opensearch/config/bsentity/dbmeta/AccessTokenDbm.java

                false, false, false, "keyword", 0, 0, null, null, false, null, null, null, null, null, false);
        protected final ColumnInfo _columnToken = cci("token", "token", null, null, String.class, "token", null, false, false, false, "keyword",
                0, 0, null, null, false, null, null, null, null, null, false);
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Sat Mar 15 06:53:53 UTC 2025
    - 11.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/spnego/SpnegoTokenTest.java

                return tok == null ? new byte[0] : tok;
            }
    
            @Override
            protected void parse(byte[] token) throws IOException {
                if (token == null) {
                    throw new IOException("token is null");
                }
                setMechanismToken(token);
                this.parsed = true;
            }
    
            boolean isParsed() {
                return parsed;
            }
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  8. internal/auth/credentials.go

    // JWTSignWithAccessKey - generates a session token.
    func JWTSignWithAccessKey(accessKey string, m map[string]any, tokenSecret string) (string, error) {
    	m["accessKey"] = accessKey
    	jwt := jwtgo.NewWithClaims(jwtgo.SigningMethodHS512, jwtgo.MapClaims(m))
    	return jwt.SignedString([]byte(tokenSecret))
    }
    
    // ExtractClaims extracts JWT claims from a security token using a secret key
    func ExtractClaims(token, secretKey string) (*jwt.MapClaims, error) {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  9. src/test/java/jcifs/pac/kerberos/KerberosEncDataTest.java

    import org.junit.jupiter.api.Test;
    
    import jcifs.pac.PACDecodingException;
    
    /**
     * Tests for KerberosEncData.
     */
    class KerberosEncDataTest {
    
        /**
         * Test constructor with a valid token.
         *
         * @throws IOException if an I/O error occurs
         * @throws PACDecodingException if a PAC decoding error occurs
         * @throws UnknownHostException if the IP address is not found
         */
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  10. docs_src/dependencies/tutorial012_an_py39.py

    from typing import Annotated
    
    from fastapi import Depends, FastAPI, Header, HTTPException
    
    
    async def verify_token(x_token: Annotated[str, Header()]):
        if x_token != "fake-super-secret-token":
            raise HTTPException(status_code=400, detail="X-Token header invalid")
    
    
    async def verify_key(x_key: Annotated[str, Header()]):
        if x_key != "fake-super-secret-key":
            raise HTTPException(status_code=400, detail="X-Key header invalid")
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 746 bytes
    - Viewed (0)
Back to top