Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 165 for clientMod (0.15 sec)

  1. docs_src/websockets/tutorial003_py39.py

                <button>Send</button>
            </form>
            <ul id='messages'>
            </ul>
            <script>
                var client_id = Date.now()
                document.querySelector("#ws-id").textContent = client_id;
                var ws = new WebSocket(`ws://localhost:8000/ws/${client_id}`);
                ws.onmessage = function(event) {
                    var messages = document.getElementById('messages')
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  2. docs_src/websockets/tutorial003.py

                <button>Send</button>
            </form>
            <ul id='messages'>
            </ul>
            <script>
                var client_id = Date.now()
                document.querySelector("#ws-id").textContent = client_id;
                var ws = new WebSocket(`ws://localhost:8000/ws/${client_id}`);
                ws.onmessage = function(event) {
                    var messages = document.getElementById('messages')
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sun Aug 09 13:52:19 UTC 2020
    - 2.5K bytes
    - Viewed (0)
  3. docs/sts/keycloak.md

    Before being able to authenticate against the Admin REST API using a client_id and a client_secret you need to make sure the client is configured as it follows:
    
    - `account` client_id is a confidential client that belongs to the realm `{realm}`
    - `account` client_id is has **Service Accounts Enabled** option enabled.
    - `account` client_id has a custom "Audience" mapper, in the Mappers section.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Sep 29 04:28:45 UTC 2022
    - 8.1K bytes
    - Viewed (0)
  4. staging/src/k8s.io/cli-runtime/pkg/genericclioptions/config_flags_fake.go

    	"k8s.io/client-go/discovery"
    	"k8s.io/client-go/rest"
    	"k8s.io/client-go/restmapper"
    	"k8s.io/client-go/tools/clientcmd"
    	clientcmdapi "k8s.io/client-go/tools/clientcmd/api"
    )
    
    // TestConfigFlags contains clientConfig struct
    // and interfaces that implements RESTClientGetter
    type TestConfigFlags struct {
    	clientConfig    clientcmd.ClientConfig
    	discoveryClient discovery.CachedDiscoveryInterface
    	restMapper      meta.RESTMapper
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Oct 11 15:04:11 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  5. fastapi/security/oauth2.py

            data = {}
            data["scopes"] = []
            for scope in form_data.scopes:
                data["scopes"].append(scope)
            if form_data.client_id:
                data["client_id"] = form_data.client_id
            if form_data.client_secret:
                data["client_secret"] = form_data.client_secret
            return data
        ```
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Apr 02 02:48:51 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  6. docs/sts/web-identity.py

    
    def make_authorization_url():
        # Generate a random string for the state parameter
        # Save it for use later to prevent xsrf attacks
    
        state = str(uuid4())
        params = {"client_id": client_id,
                  "response_type": "code",
                  "state": state,
                  "redirect_uri": callback_uri,
                  "scope": "openid"}
    
        url = authorize_url + "?" + urllib.parse.urlencode(params)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Wed Jul 28 01:37:51 UTC 2021
    - 2.9K bytes
    - Viewed (0)
  7. cmd/kubeadm/app/util/kubeconfig/kubeconfig.go

    limitations under the License.
    */
    
    package kubeconfig
    
    import (
    	"fmt"
    	"os"
    
    	"github.com/pkg/errors"
    
    	clientset "k8s.io/client-go/kubernetes"
    	"k8s.io/client-go/tools/clientcmd"
    	clientcmdapi "k8s.io/client-go/tools/clientcmd/api"
    )
    
    // CreateBasic creates a basic, general KubeConfig object that then can be extended
    func CreateBasic(serverURL, clusterName, userName string, caCert []byte) *clientcmdapi.Config {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 21 10:21:33 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/server/options/coreapi.go

    	// create shared informer for Kubernetes APIs
    	var kubeconfig *rest.Config
    	var err error
    	if len(o.CoreAPIKubeconfigPath) > 0 {
    		loadingRules := &clientcmd.ClientConfigLoadingRules{ExplicitPath: o.CoreAPIKubeconfigPath}
    		loader := clientcmd.NewNonInteractiveDeferredLoadingClientConfig(loadingRules, &clientcmd.ConfigOverrides{})
    		kubeconfig, err = loader.ClientConfig()
    		if err != nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Aug 01 16:55:02 UTC 2022
    - 2.7K bytes
    - Viewed (0)
  9. pkg/kube/client_factory.go

    type clientFactory struct {
    	clientConfig clientcmd.ClientConfig
    
    	expander lazy.Lazy[meta.RESTMapper]
    	mapper   lazy.Lazy[meta.ResettableRESTMapper]
    
    	discoveryClient lazy.Lazy[discovery.CachedDiscoveryInterface]
    }
    
    // newClientFactory creates a new util.Factory from the given clientcmd.ClientConfig.
    func newClientFactory(clientConfig clientcmd.ClientConfig, diskCache bool) *clientFactory {
    	out := &clientFactory{
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Dec 15 21:30:37 UTC 2023
    - 5.8K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/discovery/https/https.go

    limitations under the License.
    */
    
    package https
    
    import (
    	"io"
    	"net/http"
    	"time"
    
    	netutil "k8s.io/apimachinery/pkg/util/net"
    	"k8s.io/client-go/tools/clientcmd"
    	clientcmdapi "k8s.io/client-go/tools/clientcmd/api"
    
    	"k8s.io/kubernetes/cmd/kubeadm/app/discovery/file"
    )
    
    // RetrieveValidatedConfigInfo connects to the API Server and makes sure it can talk
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Nov 24 04:29:10 UTC 2022
    - 1.5K bytes
    - Viewed (0)
Back to top