Search Options

Results per page
Sort
Preferred Languages
Advance

Results 581 - 590 of 1,656 for key (0.02 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/config/scanner/scanner.go

    var DefaultKVS = config.KVS{
    	config.KV{
    		Key:   Speed,
    		Value: "default",
    	},
    	config.KV{
    		Key:           IdleSpeed,
    		Value:         "",
    		HiddenIfEmpty: true,
    	},
    	config.KV{
    		Key:   ExcessVersions,
    		Value: "100",
    	},
    	config.KV{
    		Key:   ExcessFolders,
    		Value: "50000",
    	},
    
    	// Deprecated Oct 2022
    	config.KV{
    		Key:           Delay,
    		Value:         "",
    		HiddenIfEmpty: true,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  5. 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)
  6. helm-releases/minio-5.0.2.tgz

    checkSvcacctExists ; then echo "Creating svcacct '$SVCACCT'" # Check if policy file is define if [ -z $FILENAME ]; then ${MC} admin user svcacct add --access-key $(head -1 $MINIO_ACCESSKEY_SECRETKEY_TMP) --secret-key $(tail -n1 $MINIO_ACCESSKEY_SECRETKEY_TMP) myminio $USER else ${MC} admin user svcacct add --access-key $(head -1 $MINIO_ACCESSKEY_SECRETKEY_TMP) --secret-key $(tail -n1 $MINIO_ACCESSKEY_SECRETKEY_TMP) --policy /config/$FILENAME.json myminio $USER fi else echo "Svcacct '$SVCACCT' already exists." fi...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sun Dec 18 07:57:10 UTC 2022
    - 20.4K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. src/main/java/org/codelibs/fess/app/service/SearchLogService.java

    public class SearchLogService {
    
        private static final String YYYY_MM_DD_HH_MM = "yyyy-MM-dd HH:mm";
    
        private static final String COUNT = "count";
    
        private static final String KEY = "key";
    
        private static final String ID = "id";
    
        private static final String USER_INFO_ID = "userInfoId";
    
        private static final String QUERY_TIME = "queryTime";
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:53:18 UTC 2024
    - 28.4K bytes
    - Viewed (0)
Back to top