Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for client_id (0.19 sec)

  1. cmd/sts-handlers_test.go

    	for i, testApp := range testApps {
    		configCmds := []string{
    			fmt.Sprintf("identity_openid:%d", i),
    			fmt.Sprintf("config_url=%s/.well-known/openid-configuration", testApp.ProviderURL),
    			fmt.Sprintf("client_id=%s", testApp.ClientID),
    			fmt.Sprintf("client_secret=%s", testApp.ClientSecret),
    			"scopes=openid,groups",
    			fmt.Sprintf("redirect_uri=%s", testApp.RedirectURL),
    		}
    		if rolePolicies[i] != "" {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 15:50:16 GMT 2024
    - 85.7K bytes
    - Viewed (0)
  2. internal/config/identity/openid/providercfg.go

    		ClaimPrefix:        getCfgVal(ClaimPrefix),
    		RedirectURI:        getCfgVal(RedirectURI),
    		RedirectURIDynamic: getCfgVal(RedirectURIDynamic) == config.EnableOn,
    		ClientID:           getCfgVal(ClientID),
    		ClientSecret:       getCfgVal(ClientSecret),
    		RolePolicy:         getCfgVal(RolePolicy),
    	}
    }
    
    const (
    	keyCloakVendor = "keycloak"
    )
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  3. cmd/warm-backend-azure.go

    		return nil, errors.New("the account name is required")
    	case conf.AccountKey != "" && (conf.SPAuth.TenantID != "" || conf.SPAuth.ClientID != "" || conf.SPAuth.ClientSecret != ""):
    		return nil, errors.New("multiple authentication mechanisms are provided")
    	case conf.AccountKey == "" && (conf.SPAuth.TenantID == "" || conf.SPAuth.ClientID == "" || conf.SPAuth.ClientSecret == ""):
    		return nil, errors.New("no authentication mechanism was provided")
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Mar 05 16:44:08 GMT 2024
    - 7.8K bytes
    - Viewed (1)
  4. internal/config/identity/openid/jwt_test.go

    	if len(pubKeys.pkMap) != 1 {
    		t.Fatalf("Expected 1 keys, got %d", len(pubKeys.pkMap))
    	}
    
    	provider := providerCfg{
    		ClientID:     "76b95ae5-33ef-4283-97b7-d2a85dc2d8f4",
    		ClientSecret: "WNGvKVyyNmXq0TraSvjaDN9CtpFgx35IXtGEffMCPR0",
    	}
    	provider.JWKS.URL = u1
    	cfg := Config{
    		Enabled: true,
    		pubKeys: pubKeys,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 8.3K bytes
    - Viewed (0)
  5. internal/grid/handlers.go

    			if r != rZero {
    				pool.Put(r)
    			}
    		}
    }
    
    // NewSingleHandler creates a typed handler that can provide Marshal/Unmarshal.
    // Use Register to register a server handler.
    // Use Call to initiate a clientside call.
    func NewSingleHandler[Req, Resp RoundTripper](h HandlerID, newReq func() Req, newResp func() Resp) *SingleHandler[Req, Resp] {
    	s := SingleHandler[Req, Resp]{id: h}
    	s.newReq, s.recycleReq = recycleFunc[Req](newReq)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 23 17:15:52 GMT 2024
    - 27.1K bytes
    - Viewed (0)
  6. internal/grid/connection.go

    }
    
    // writeMessage writes a message to w without allocations.
    func (ww *wsWriter) writeMessage(w io.Writer, s ws.State, op ws.OpCode, p []byte) error {
    	const fin = true
    	var frame ws.Frame
    	if s.ClientSide() {
    		// We do not need to copy the payload, since we own it.
    		payload := p
    
    		frame = ws.NewFrame(op, fin, payload)
    		frame = ws.MaskFrameInPlace(frame)
    	} else {
    		frame = ws.NewFrame(op, fin, p)
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 42.6K bytes
    - Viewed (0)
  7. cmd/tier.go

    		if creds.SecretKey != "" {
    			cfg.Azure.AccountKey = creds.SecretKey
    		}
    		if creds.AzSP.TenantID != "" {
    			cfg.Azure.SPAuth.TenantID = creds.AzSP.TenantID
    		}
    		if creds.AzSP.ClientID != "" {
    			cfg.Azure.SPAuth.ClientID = creds.AzSP.ClientID
    		}
    		if creds.AzSP.ClientSecret != "" {
    			cfg.Azure.SPAuth.ClientSecret = creds.AzSP.ClientSecret
    		}
    	case madmin.GCS:
    		if creds.CredsJSON == nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Apr 17 05:09:58 GMT 2024
    - 15.5K bytes
    - Viewed (0)
  8. internal/grid/grid_test.go

    		}(t)
    		start := time.Now()
    		cancel()
    		<-serverCanceled
    		t.Log("server cancel time:", time.Since(start))
    		clientEnd := <-clientCanceled
    		if !errors.Is(err, context.Canceled) {
    			t.Error("expected context.Canceled, got", err)
    		}
    		t.Log("client after", time.Since(clientEnd))
    	}
    	// local to remote, unbuffered
    	t.Run("unbuffered", func(t *testing.T) {
    		testHandler(t, handlerTest)
    	})
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Apr 30 15:03:35 GMT 2024
    - 30.1K bytes
    - Viewed (0)
  9. cmd/common-main.go

    		m[name] = consoleoauth2.ProviderConfig{
    			URL:                     cfg.URL.String(),
    			DisplayName:             cfg.DisplayName,
    			ClientID:                cfg.ClientID,
    			ClientSecret:            cfg.ClientSecret,
    			HMACSalt:                globalDeploymentID(),
    			HMACPassphrase:          cfg.ClientID,
    			Scopes:                  strings.Join(cfg.DiscoveryDoc.ScopesSupported, ","),
    			Userinfo:                cfg.ClaimUserinfo,
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sat May 04 00:17:57 GMT 2024
    - 35.8K bytes
    - Viewed (2)
  10. istioctl/pkg/cli/option.go

    // limitations under the License.
    
    package cli
    
    import (
    	"github.com/spf13/pflag"
    	"github.com/spf13/viper"
    	v1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/client-go/tools/clientcmd"
    
    	"istio.io/istio/pkg/ptr"
    )
    
    const (
    	FlagKubeConfig     = "kubeconfig"
    	FlagContext        = "context"
    	FlagNamespace      = "namespace"
    	FlagIstioNamespace = "istioNamespace"
    )
    
    Go
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Fri Jan 26 18:01:27 GMT 2024
    - 3.1K bytes
    - Viewed (0)
Back to top