- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 1,087 for tolen (0.07 sec)
-
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) -
tests/test_tutorial/test_websockets/test_tutorial002.py
with pytest.raises(WebSocketDisconnect): with client.websocket_connect("/items/bar/ws?token=some-token") as websocket: message = "Message one" websocket.send_text(message) data = websocket.receive_text() assert data == "Session cookie or query token value is: some-token" data = websocket.receive_text()
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sun Nov 13 14:26:09 UTC 2022 - 3.6K bytes - Viewed (0) -
tests/test_tutorial/test_websockets/test_tutorial002_py310.py
with pytest.raises(WebSocketDisconnect): with client.websocket_connect("/items/bar/ws?token=some-token") as websocket: message = "Message one" websocket.send_text(message) data = websocket.receive_text() assert data == "Session cookie or query token value is: some-token" data = websocket.receive_text()
Registered: Mon Jun 17 08:32:26 UTC 2024 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 3.9K bytes - Viewed (0) -
cmd/kubeadm/app/apis/bootstraptoken/v1/utils.go
func encodeTokenSecretData(token *BootstrapToken, now time.Time) map[string][]byte { data := map[string][]byte{ bootstrapapi.BootstrapTokenIDKey: []byte(token.Token.ID), bootstrapapi.BootstrapTokenSecretKey: []byte(token.Token.Secret), } if len(token.Description) > 0 { data[bootstrapapi.BootstrapTokenDescriptionKey] = []byte(token.Description) } // If for some strange reason both token.TTL and token.Expires would be set
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 26 15:51:39 UTC 2023 - 8.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/authentication/request/websocket/protocol.go
var errInvalidToken = errors.New("invalid bearer token") // ProtocolAuthenticator allows a websocket connection to provide a bearer token as a subprotocol // in the format "base64url.bearer.authorization.<base64url-without-padding(bearer-token)>" type ProtocolAuthenticator struct { // auth is the token authenticator to use to validate the token auth authenticator.Token }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 07 18:21:43 UTC 2023 - 3.4K 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) -
cmd/kubeadm/test/cmd/token_test.go
stdout, _, _, err := RunCmd(kubeadmPath, "token", "generate") if err != nil { t.Fatalf("'kubeadm token generate' exited uncleanly: %v", err) } matched, err := regexp.MatchString(TokenExpectedRegex, stdout) if err != nil { t.Fatalf("encountered an error while trying to match 'kubeadm token generate' stdout: %v", err) } if !matched {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Apr 08 21:47:16 UTC 2020 - 2.4K bytes - Viewed (0) -
platforms/documentation/docs/src/samples/templates/groovy-utilities-library/src/main/groovy/org/gradle/sample/utilities/SplitUtils.groovy
String token = source.substring(lastFind) if (currentFind != -1) { token = token.substring(0, currentFind - lastFind) } addIfValid(token, result) lastFind = currentFind + 1 } String token = source.substring(lastFind) addIfValid(token, result) return result }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Nov 27 17:53:42 UTC 2023 - 982 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) -
platforms/software/build-init/src/main/resources/org/gradle/buildinit/tasks/templates/groovyapplication/multi/utilities/SplitUtils.groovy.template
String token = source.substring(lastFind) if (currentFind != -1) { token = token.substring(0, currentFind - lastFind) } addIfValid(token, result) lastFind = currentFind + 1 } String token = source.substring(lastFind) addIfValid(token, result) return result }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Dec 26 19:39:09 UTC 2023 - 1007 bytes - Viewed (0)