Search Options

Results per page
Sort
Preferred Languages
Advance

Results 681 - 690 of 1,409 for key2 (0.03 sec)

  1. tests/test_security_api_key_header.py

    from fastapi import Depends, FastAPI, Security
    from fastapi.security import APIKeyHeader
    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    app = FastAPI()
    
    api_key = APIKeyHeader(name="key")
    
    
    class User(BaseModel):
        username: str
    
    
    def get_current_user(oauth_header: str = Security(api_key)):
        user = User(username=oauth_header)
        return user
    
    
    @app.get("/users/me")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  2. tests/test_security_api_key_query.py

    from fastapi import Depends, FastAPI, Security
    from fastapi.security import APIKeyQuery
    from fastapi.testclient import TestClient
    from pydantic import BaseModel
    
    app = FastAPI()
    
    api_key = APIKeyQuery(name="key")
    
    
    class User(BaseModel):
        username: str
    
    
    def get_current_user(oauth_header: str = Security(api_key)):
        user = User(username=oauth_header)
        return user
    
    
    @app.get("/users/me")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  3. docs/batch-jobs/README.md

      source:
    	type: TYPE # valid values are "minio"
    	bucket: BUCKET
    	prefix: PREFIX
    	# NOTE: if source is remote then target must be "local"
    	# endpoint: ENDPOINT
    	# credentials:
    	#   accessKey: ACCESS-KEY
    	#   secretKey: SECRET-KEY
    	#   sessionToken: SESSION-TOKEN # Available when rotating credentials are used
    
      # target where the objects must be replicated
      target:
    	type: TYPE # valid values are "minio"
    	bucket: BUCKET
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 06 06:00:43 UTC 2022
    - 4.8K bytes
    - Viewed (0)
  4. internal/event/target/testdata/contrib/certs/nats_client_key.pem

    -----BEGIN EC PRIVATE KEY-----
    MHcCAQEEIBluB2BuspJcz1e58rnXpQEx48/ZwNmygNw06NbdTZDroAoGCCqGSM49
    AwEHoUQDQgAEQIWK0F2G83islUsPJ3+e4AaYcBT9aOUuwo8aBign4Ic3YRMSohJm
    4rCvhUktmLZbVO3DOy+wHbiyG7hJxhx2EA==
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 227 bytes
    - Viewed (0)
  5. src/main/webapp/WEB-INF/orig/view/error/notFound.jsp

    </head>
    <body class="error">
    	<jsp:include page="../header.jsp" />
    	<main class="container">
    		<div class="text-center">
    			<h2>
    				<la:message key="labels.page_not_found_title" />
    			</h2>
    			<div>
    				<la:message key="labels.check_url" />
    				<br /> ${f:h(url)}
    			</div>
    		</div>
    	</main>
    	<jsp:include page="../footer.jsp" />
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 26 01:07:52 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/TikaExtractorTest.java

            CloseableUtil.closeQuietly(in);
            logger.info(content);
            assertTrue(content.contains("テスト"));
            for (final String key : extractData.getKeySet()) {
                logger.info("{}={}", key, String.join("|", extractData.getValues(key)));
            }
            assertEquals("4", extractData.getValues("cp:revision")[0]);
            assertEquals("こめんと", extractData.getValues("w:Comments")[0]);
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 30.5K bytes
    - Viewed (0)
  7. internal/event/target/nats.go

    func (target *NATSTarget) send(eventData event.Event) error {
    	objectName, err := url.QueryUnescape(eventData.S3.Object.Key)
    	if err != nil {
    		return err
    	}
    	key := eventData.S3.Bucket.Name + "/" + objectName
    
    	data, err := json.Marshal(event.Log{EventName: eventData.EventName, Key: key, Records: []event.Event{eventData}})
    	if err != nil {
    		return err
    	}
    
    	if target.stanConn != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Sep 06 23:06:30 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/collect/RangeMap.java

       */
    
      /**
       * Returns the value associated with the specified key, or {@code null} if there is no such value.
       *
       * <p>Specifically, if any range in this range map contains the specified key, the value
       * associated with that range is returned.
       */
      @CheckForNull
      V get(K key);
    
      /**
       * Returns the range containing this key and its associated value, if such a range is present in
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/crawler/transformer/AbstractFessFileTransformer.java

                // meta
                extractData.getKeySet().stream().filter(k -> extractData.getValues(k) != null).forEach(key -> {
                    final String[] values = extractData.getValues(key);
                    metaDataMap.put(key, values);
    
                    // meta -> content
                    if (fessConfig.isCrawlerMetadataContentIncluded(key)) {
                        final String joinedValue = StringUtils.join(values, ' ');
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 23.6K bytes
    - Viewed (0)
  10. internal/event/event.go

    	ARN           string   `json:"arn"`
    }
    
    // Object represents object metadata of the event.
    type Object struct {
    	Key          string            `json:"key"`
    	Size         int64             `json:"size,omitempty"`
    	ETag         string            `json:"eTag,omitempty"`
    	ContentType  string            `json:"contentType,omitempty"`
    	UserMetadata map[string]string `json:"userMetadata,omitempty"`
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 20 00:53:08 UTC 2023
    - 3.4K bytes
    - Viewed (0)
Back to top