Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 1,682 for tolen (0.05 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top