- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 1,120 for tolen (0.05 sec)
-
tests/test_tutorial/test_bigger_applications/test_main.py
response = client.put( "/items/bar?token=jessica", headers={"X-Token": "fake-super-secret-token"} ) assert response.status_code == 403, response.text assert response.json() == {"detail": "You can only update the item: plumbus"} def test_admin(client: TestClient): response = client.post( "/admin/?token=jessica", headers={"X-Token": "fake-super-secret-token"} )
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:40:57 UTC 2024 - 24.6K bytes - Viewed (0) -
cmd/kubeadm/app/cmd/token_test.go
outputFormat: "jsonpath={.token} {.groups}", expected: "abcdef.1234567890123456 [\"system:bootstrappers:kubeadm:default-node-token\"]", }, } for _, tc := range testCases { t.Run(tc.name, func(t *testing.T) { token := outputapiv1alpha3.BootstrapToken{ BootstrapToken: bootstraptokenv1.BootstrapToken{
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 23 05:47:48 UTC 2024 - 13.6K bytes - Viewed (0) -
tests/test_tutorial/test_dependencies/test_tutorial012_an_py39.py
"/users/", headers={"X-Token": "fake-super-secret-token", "X-Key": "invalid"} ) assert response.status_code == 400, response.text assert response.json() == {"detail": "X-Key header invalid"} @needs_py39 def test_get_valid_headers_items(client: TestClient): response = client.get( "/items/", headers={ "X-Token": "fake-super-secret-token",
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:40:57 UTC 2024 - 8.8K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/KtFirAnalysisSession.kt
override val psiTypeProviderImpl = KaFirPsiTypeProvider(this, token) override val jvmTypeMapperImpl = KaFirJvmTypeMapper(this, token) override val typeProviderImpl = KaFirTypeProvider(this, token) override val typeInfoProviderImpl = KaFirTypeInfoProvider(this, token) override val subtypingComponentImpl = KaFirSubtypingComponent(this, token)
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Thu Jun 06 17:44:50 UTC 2024 - 9.3K bytes - Viewed (0) -
src/text/template/parse/parse.go
return t.token[0] } // nextNonSpace returns the next non-space token. func (t *Tree) nextNonSpace() (token item) { for { token = t.next() if token.typ != itemSpace { break } } return token } // peekNonSpace returns but does not consume the next non-space token. func (t *Tree) peekNonSpace() item { token := t.nextNonSpace() t.backup() return token }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 20:57:51 UTC 2024 - 21.3K bytes - Viewed (0) -
staging/src/k8s.io/api/authentication/v1/generated.proto
} // TokenReviewSpec is a description of the token authentication request. message TokenReviewSpec { // Token is the opaque bearer token. // +optional optional string token = 1; // Audiences is a list of the identifiers that the resource server presented // with the token identifies as. Audience-aware token authenticators will // verify that the token was intended for at least one of the audiences in
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Thu Mar 28 15:34:11 UTC 2024 - 7.7K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/diagnostics/KtCompilerPluginDiagnosticImpl.kt
firDiagnostic: KtPsiSimpleDiagnostic, token: KaLifetimeToken ) : KaAbstractFirDiagnostic<PsiElement>(firDiagnostic, token), KaCompilerPluginDiagnostic0 internal class KaCompilerPluginDiagnostic1Impl( firDiagnostic: KtPsiDiagnosticWithParameters1<*>, token: KaLifetimeToken, override val parameter1: Any? ) : KaAbstractFirDiagnostic<PsiElement>(firDiagnostic, token), KaCompilerPluginDiagnostic1
Registered: Wed Jun 12 09:53:16 UTC 2024 - Last Modified: Wed May 22 06:28:34 UTC 2024 - 1.8K bytes - Viewed (0) -
tests/test_tutorial/test_bigger_applications/test_main_an_py39.py
response = client.get("/users?token=monica") assert response.status_code == 400 assert response.json() == {"detail": "No Jessica token provided"} @needs_py39 def test_items_token_jessica(client: TestClient): response = client.get( "/items?token=jessica", headers={"X-Token": "fake-super-secret-token"} ) assert response.status_code == 200
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:40:57 UTC 2024 - 24.9K bytes - Viewed (0) -
tests/test_tutorial/test_dependencies/test_tutorial006_an.py
def test_get_invalid_one_header(): response = client.get("/items/", headers={"X-Token": "invalid"}) assert response.status_code == 400, response.text assert response.json() == {"detail": "X-Token header invalid"} def test_get_invalid_second_header(): response = client.get( "/items/", headers={"X-Token": "fake-super-secret-token", "X-Key": "invalid"} ) assert response.status_code == 400, response.text
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Thu Apr 18 19:40:57 UTC 2024 - 5K bytes - Viewed (0) -
docs_src/app_testing/app_b_an/test_main.py
def test_read_nonexistent_item(): response = client.get("/items/baz", headers={"X-Token": "coneofsilence"}) assert response.status_code == 404 assert response.json() == {"detail": "Item not found"} def test_create_item(): response = client.post( "/items/", headers={"X-Token": "coneofsilence"},
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Wed Mar 13 19:07:10 UTC 2024 - 1.8K bytes - Viewed (0)