Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,402 for access (0.2 sec)

  1. internal/auth/credentials_test.go

    		valid       bool
    		expectedErr error
    	}{
    		// Valid access and secret keys with minimum length.
    		{alphaNumericTable[:accessKeyMinLen], alphaNumericTable[:secretKeyMinLen], true, nil},
    		// Valid access and/or secret keys are longer than minimum length.
    		{alphaNumericTable[:accessKeyMinLen+1], alphaNumericTable[:secretKeyMinLen+1], true, nil},
    		// Smaller access key.
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Mar 01 21:09:42 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  2. docs_src/security/tutorial005_py310.py

    
    @app.post("/token")
    async def login_for_access_token(
        form_data: OAuth2PasswordRequestForm = Depends(),
    ) -> Token:
        user = authenticate_user(fake_users_db, form_data.username, form_data.password)
        if not user:
            raise HTTPException(status_code=400, detail="Incorrect username or password")
        access_token_expires = timedelta(minutes=ACCESS_TOKEN_EXPIRE_MINUTES)
        access_token = create_access_token(
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Mar 26 16:56:53 GMT 2024
    - 5.1K bytes
    - Viewed (0)
  3. docs_src/security/tutorial005_an_py310.py

    @app.post("/token")
    async def login_for_access_token(
        form_data: Annotated[OAuth2PasswordRequestForm, Depends()],
    ) -> Token:
        user = authenticate_user(fake_users_db, form_data.username, form_data.password)
        if not user:
            raise HTTPException(status_code=400, detail="Incorrect username or password")
        access_token_expires = timedelta(minutes=ACCESS_TOKEN_EXPIRE_MINUTES)
        access_token = create_access_token(
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Mar 26 16:56:53 GMT 2024
    - 5.2K bytes
    - Viewed (0)
  4. src/cmd/asm/internal/asm/testdata/amd64dynlinkerror.s

    	RET
    TEXT ·a8(SB), 0, $0-0
    	CMPL runtime·writeBarrier(SB), $0
    	ADDQ AX, R15 // ERROR "when dynamic linking, R15 is clobbered by a global variable access and is used here"
    	RET
    TEXT ·a9(SB), 0, $0-0
    	CMPL runtime·writeBarrier(SB), $0
    	ORQ R15, R15 // ERROR "when dynamic linking, R15 is clobbered by a global variable access and is used here"
    	RET
    TEXT ·a10(SB), 0, $0-0
    Others
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 15 20:45:41 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  5. guava/src/com/google/common/cache/ReferenceEntry.java

      /** Returns the next entry in the access queue. */
      ReferenceEntry<K, V> getNextInAccessQueue();
    
      /** Sets the next entry in the access queue. */
      void setNextInAccessQueue(ReferenceEntry<K, V> next);
    
      /** Returns the previous entry in the access queue. */
      ReferenceEntry<K, V> getPreviousInAccessQueue();
    
      /** Sets the previous entry in the access queue. */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jun 15 18:00:07 GMT 2021
    - 3.5K bytes
    - Viewed (0)
  6. Dockerfile.release.fips

    ENV MINIO_ACCESS_KEY_FILE=access_key \
        MINIO_SECRET_KEY_FILE=secret_key \
        MINIO_ROOT_USER_FILE=access_key \
        MINIO_ROOT_PASSWORD_FILE=secret_key \
        MINIO_KMS_SECRET_KEY_FILE=kms_master_key \
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat Mar 30 09:41:56 GMT 2024
    - 2.3K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_security/test_tutorial005_py39.py

        assert get_password_hash("secretalice")
    
    
    @needs_py39
    def test_create_access_token():
        from docs_src.security.tutorial005_py39 import create_access_token
    
        access_token = create_access_token(data={"data": "foo"})
        assert access_token
    
    
    @needs_py39
    def test_token_no_sub(client: TestClient):
        response = client.get(
            "/users/me",
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Wed Mar 13 19:07:10 GMT 2024
    - 16.3K bytes
    - Viewed (0)
  8. tensorflow/c/experimental/filesystem/modular_filesystem_registration.cc

      TF_RETURN_IF_ERROR(
          CheckABI(ops->filesystem_ops_abi, TF_FILESYSTEM_OPS_ABI, "filesystem"));
    
      if (ops->random_access_file_ops != nullptr)
        TF_RETURN_IF_ERROR(CheckABI(ops->random_access_file_ops_abi,
                                    TF_RANDOM_ACCESS_FILE_OPS_ABI,
                                    "random access file"));
    
      if (ops->writable_file_ops != nullptr)
        TF_RETURN_IF_ERROR(CheckABI(ops->writable_file_ops_abi,
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Tue Mar 07 22:08:43 GMT 2023
    - 12.8K bytes
    - Viewed (0)
  9. docs_src/security/tutorial004_an_py39.py

                headers={"WWW-Authenticate": "Bearer"},
            )
        access_token_expires = timedelta(minutes=ACCESS_TOKEN_EXPIRE_MINUTES)
        access_token = create_access_token(
            data={"sub": user.username}, expires_delta=access_token_expires
        )
        return Token(access_token=access_token, token_type="bearer")
    
    
    @app.get("/users/me/", response_model=User)
    async def read_users_me(
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Mar 26 16:56:53 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  10. src/main/java/jcifs/dcerpc/msrpc/samr.idl

    	int SamrConnect2([in,string,unique] wchar_t *system_name,
    			[in] uint32_t access_mask,
    			[out] policy_handle *handle);
    
    	[op(0x3e)]
    	int SamrConnect4([in,string,unique] wchar_t *system_name,
    			[in] uint32_t unknown,
    			[in] uint32_t access_mask,
    			[out] policy_handle *handle);
    
    	[op(0x07)]
    	int SamrOpenDomain([in] policy_handle *handle,
    			[in] uint32_t access_mask,
    			[in] sid_t *sid,
    			[out] policy_handle *domain_handle);
    
    Others
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 3.1K bytes
    - Viewed (0)
Back to top