Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 26 of 26 for auth_token (0.22 sec)

  1. internal/config/lambda/parse.go

    		if k != config.Default {
    			clientKeyEnv = clientKeyEnv + config.Default + k
    		}
    
    		webhookArgs := target.WebhookArgs{
    			Enable:     enabled,
    			Endpoint:   *url,
    			Transport:  transport,
    			AuthToken:  env.Get(authEnv, kv.Get(target.WebhookAuthToken)),
    			ClientCert: env.Get(clientCertEnv, kv.Get(target.WebhookClientCert)),
    			ClientKey:  env.Get(clientKeyEnv, kv.Get(target.WebhookClientKey)),
    		}
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 6K bytes
    - Viewed (0)
  2. cmd/config-migrate.go

    		cfg.Compression.MimeTypes = strings.Split(compress.DefaultMimeTypes, config.ValueSeparator)
    	case "30":
    		// V30 -> V31
    		cfg.OpenID = openid.Config{}
    		cfg.Policy.OPA = opa.Args{
    			URL:       &xnet.URL{},
    			AuthToken: "",
    		}
    	case "31":
    		// V31 -> V32
    		cfg.Notify.NSQ = make(map[string]target.NSQArgs)
    		cfg.Notify.NSQ["1"] = target.NSQArgs{}
    	}
    
    	// Move to latest.
    	cfg.Version = "33"
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed Oct 18 18:05:24 GMT 2023
    - 5.4K bytes
    - Viewed (0)
  3. internal/config/notify/legacy.go

    			Value: config.EnableOn,
    		},
    		config.KV{
    			Key:   target.WebhookEndpoint,
    			Value: cfg.Endpoint.String(),
    		},
    		config.KV{
    			Key:   target.WebhookAuthToken,
    			Value: cfg.AuthToken,
    		},
    		config.KV{
    			Key:   target.WebhookQueueDir,
    			Value: cfg.QueueDir,
    		},
    		config.KV{
    			Key:   target.WebhookQueueLimit,
    			Value: strconv.Itoa(int(cfg.QueueLimit)),
    		},
    		config.KV{
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Tue Mar 19 04:37:54 GMT 2024
    - 13.1K bytes
    - Viewed (0)
  4. cmd/utils.go

    	q := lastReq.URL.Query()
    	// fmt.Printf("lastReq.URL: %#v q: %#v\n", lastReq.URL, q)
    	code := q.Get("code")
    	oauth2Token, err := oauth2Config.Exchange(ctx, code)
    	if err != nil {
    		return "", fmt.Errorf("unable to exchange code for id token: %v", err)
    	}
    
    	rawIDToken, ok := oauth2Token.Extra("id_token").(string)
    	if !ok {
    		return "", fmt.Errorf("id_token not found!")
    	}
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 15:18:21 GMT 2024
    - 31.4K bytes
    - Viewed (0)
  5. cmd/iam.go

    		if err != nil {
    			iamLogIf(ctx, fmt.Errorf("Unable to initialize AuthZPlugin from legacy OPA config: %w", err))
    		} else {
    			authZPluginCfg.URL = opaCfg.URL
    			authZPluginCfg.AuthToken = opaCfg.AuthToken
    			authZPluginCfg.Transport = opaCfg.Transport
    			authZPluginCfg.CloseRespFn = opaCfg.CloseRespFn
    		}
    	}
    
    	setGlobalAuthZPlugin(polplugin.New(authZPluginCfg))
    
    	sys.Lock()
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 25 21:28:16 GMT 2024
    - 71.1K bytes
    - Viewed (1)
  6. internal/config/notify/parse.go

    		if k != config.Default {
    			clientKeyEnv = clientKeyEnv + config.Default + k
    		}
    
    		webhookArgs := target.WebhookArgs{
    			Enable:     enabled,
    			Endpoint:   *url,
    			Transport:  transport,
    			AuthToken:  env.Get(authEnv, kv.Get(target.WebhookAuthToken)),
    			QueueDir:   env.Get(queueDirEnv, kv.Get(target.WebhookQueueDir)),
    			QueueLimit: uint64(queueLimit),
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 46.4K bytes
    - Viewed (0)
Back to top