Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 801 for Hosken (0.22 sec)

  1. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/annotations/KtFirAnnotationListForReceiverParameter.kt

        private val builder: KtSymbolByFirBuilder,
    ) : KtAnnotationsList() {
        private val useSiteSession: FirSession get() = builder.rootSession
        override val token: KtLifetimeToken get() = builder.token
    
        override val annotations: List<KtAnnotationApplicationWithArgumentsInfo>
            get() = withValidityAssertion {
                annotations(firCallableSymbol, builder, receiverParameter)
            }
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 07:15:56 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  2. cmd/sts-datatypes.go

    	// This is traditionally the client identifier issued to the application that
    	// requested the client grants.
    	Audience string `xml:",omitempty"`
    
    	// The temporary security credentials, which include an access key ID, a secret
    	// access key, and a security (or session) token.
    	//
    	// Note: The size of the security token that STS APIs return is not fixed. We
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri May 27 00:58:09 GMT 2022
    - 9.9K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_bigger_applications/test_main.py

    
    def test_items_bar_with_invalid_token(client: TestClient):
        response = client.get("/items/bar?token=jessica", headers={"X-Token": "invalid"})
        assert response.status_code == 400
        assert response.json() == {"detail": "X-Token header invalid"}
    
    
    def test_items_with_missing_x_token_header(client: TestClient):
        response = client.get("/items?token=jessica")
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 24.6K bytes
    - Viewed (0)
  4. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/KtFirAnalysisSession.kt

        override val psiTypeProviderImpl = KtFirPsiTypeProvider(this, token)
    
        override val jvmTypeMapperImpl = KtFirJvmTypeMapper(this, token)
    
        override val typeProviderImpl = KtFirTypeProvider(this, token)
    
        override val typeInfoProviderImpl = KtFirTypeInfoProvider(this, token)
    
        override val subtypingComponentImpl = KtFirSubtypingComponent(this, token)
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 18 10:43:08 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_security/test_tutorial003.py

    client = TestClient(app)
    
    
    def test_login():
        response = client.post("/token", data={"username": "johndoe", "password": "secret"})
        assert response.status_code == 200, response.text
        assert response.json() == {"access_token": "johndoe", "token_type": "bearer"}
    
    
    def test_login_incorrect_password():
        response = client.post(
            "/token", data={"username": "johndoe", "password": "incorrect"}
        )
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 8K bytes
    - Viewed (0)
  6. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/annotations/KtFirAnnotationListForType.kt

    internal class KtFirAnnotationListForType private constructor(
        val coneType: ConeKotlinType,
        private val builder: KtSymbolByFirBuilder,
    ) : KtAnnotationsList() {
        override val token: KtLifetimeToken get() = builder.token
        private val useSiteSession: FirSession get() = builder.rootSession
    
        override val annotations: List<KtAnnotationApplicationWithArgumentsInfo>
            get() = withValidityAssertion {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 07:15:56 GMT 2024
    - 4.7K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_security/test_tutorial005.py

                        },
                    },
                    "Token": {
                        "title": "Token",
                        "required": ["access_token", "token_type"],
                        "type": "object",
                        "properties": {
                            "access_token": {"title": "Access Token", "type": "string"},
                            "token_type": {"title": "Token Type", "type": "string"},
                        },
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Wed Mar 13 19:07:10 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  8. istioctl/pkg/multicluster/remote_secret.go

    				AuthInfo: clusterName,
    			},
    		},
    		CurrentContext: clusterName,
    	}
    }
    
    func createBearerTokenKubeconfig(caData, token []byte, clusterName, server string) *api.Config {
    	c := createBaseKubeconfig(caData, clusterName, server)
    	c.AuthInfos[c.CurrentContext] = &api.AuthInfo{
    		Token: string(token),
    	}
    	return c
    }
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Wed Oct 11 01:43:17 GMT 2023
    - 24K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_security/test_tutorial003_an_py39.py

    @needs_py39
    def test_login(client: TestClient):
        response = client.post("/token", data={"username": "johndoe", "password": "secret"})
        assert response.status_code == 200, response.text
        assert response.json() == {"access_token": "johndoe", "token_type": "bearer"}
    
    
    @needs_py39
    def test_login_incorrect_password(client: TestClient):
        response = client.post(
            "/token", data={"username": "johndoe", "password": "incorrect"}
        )
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Jul 07 17:12:13 GMT 2023
    - 8.4K bytes
    - Viewed (0)
  10. docs_src/security/tutorial005_py310.py

        return current_user
    
    
    @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)
    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)
Back to top