Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,227 for Access (0.14 sec)

  1. docs_src/security/tutorial004_py310.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)
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Mar 26 16:56:53 GMT 2024
    - 4K bytes
    - Viewed (0)
  2. docs_src/security/tutorial004.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)
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Mar 26 16:56:53 GMT 2024
    - 4K bytes
    - Viewed (0)
  3. docs_src/security/tutorial004_an.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)
  4. native-image-tests/src/main/kotlin/okhttp3/TestRegistration.kt

    @AutomaticFeature
    class TestRegistration : Feature {
      override fun beforeAnalysis(access: Feature.BeforeAnalysisAccess) {
        // Presumably needed for parsing the testlist.txt file.
        RuntimeClassInitialization.initializeAtBuildTime(access.findClassByName("kotlin.text.Charsets"))
    
        registerKnownTests(access)
    
        registerJupiterClasses(access)
    
        registerParamProvider(access, "okhttp3.SampleTestProvider")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  5. src/main/webapp/WEB-INF/view/admin/accesstoken/admin_accesstoken_details.jsp

                                                    key="labels.access_token_name"/></th>
                                            <td>${f:h(name)}<la:hidden property="name"/></td>
                                        </tr>
                                        <tr>
                                            <th><la:message
                                                    key="labels.access_token_token"/></th>
    Others
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Wed Feb 12 20:25:27 GMT 2020
    - 5.5K bytes
    - Viewed (0)
  6. src/main/java/jcifs/dcerpc/msrpc/samr.java

            }
    
            public int retval;
            public String system_name;
            public int access_mask;
            public rpc.policy_handle handle;
    
    
            public SamrConnect2 ( String system_name, int access_mask, rpc.policy_handle handle ) {
                this.system_name = system_name;
                this.access_mask = access_mask;
                this.handle = handle;
            }
    
    
            @Override
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Fri Mar 22 20:40:13 GMT 2019
    - 15.1K bytes
    - Viewed (0)
  7. docs/docker/README.md

    ```
    
    ### MinIO Custom Access and Secret Keys using Docker secrets
    
    To override MinIO's auto-generated keys, you may pass secret and access keys explicitly by creating access and secret keys as [Docker secrets](https://docs.docker.com/engine/swarm/secrets/). MinIO server also allows regular strings as access and secret keys.
    
    ```
    echo "AKIAIOSFODNN7EXAMPLE" | docker secret create access_key -
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Sep 29 04:28:45 GMT 2022
    - 8.2K bytes
    - Viewed (0)
  8. 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)
  9. src/main/java/jcifs/internal/dtyp/ACE.java

     * mask of the ACE, the whole access check fails. If the ACE is an "allow"
     * ACE and <i>all</i> of the bits in the desired access bits match bits in
     * the access mask of the ACE, the access check is successful. Otherwise,
     * more ACEs are evaluated until all desired access bits (combined)
     * are "allowed". If all of the desired access bits are not "allowed"
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Sun Jul 01 13:12:10 GMT 2018
    - 5.4K bytes
    - Viewed (0)
  10. 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)
Back to top