Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 24 for toTokens (0.73 sec)

  1. cluster/gce/addons/konnectivity-agent/konnectivity-agent-ds.yaml

                      "--sync-interval-cap=30s",
                      "--probe-interval=5s",
                      "--keepalive-time=60s",
                      "--service-account-token-path=/var/run/secrets/tokens/konnectivity-agent-token",
                      "--agent-identifiers=ipv4=$(HOST_IP)"
                      ]
              env:
                - name: POD_NAME
                  valueFrom:
                    fieldRef:
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 23 10:31:11 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  2. internal/config/lambda/target/webhook.go

    	if err != nil {
    		if xnet.IsNetworkOrHostDown(err, false) {
    			return false, errNotConnected
    		}
    		return false, err
    	}
    	tokens := strings.Fields(target.args.AuthToken)
    	switch len(tokens) {
    	case 2:
    		req.Header.Set("Authorization", target.args.AuthToken)
    	case 1:
    		req.Header.Set("Authorization", "Bearer "+target.args.AuthToken)
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 6.7K bytes
    - Viewed (0)
  3. security/pkg/server/ca/authenticate/oidc.go

    	Aud []string `json:"aud"`
    
    	// Exp is not currently used - we don't use the token for authn, just to determine k8s settings
    	Exp int `json:"exp"`
    
    	// Issuer - configured by K8S admin for projected tokens. Will be used to verify all tokens.
    	Iss string `json:"iss"`
    
    	Sub string `json:"sub"`
    }
    
    func (j JwtAuthenticator) AuthenticatorType() string {
    	return IDTokenAuthenticatorType
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 23 21:07:03 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  4. tools/packaging/common/gcp_envoy_bootstrap.json

                {{ if .sts }}
                  "sts_service": {
                    "token_exchange_service_uri": "http://localhost:{{ .sts_port }}/token",
                    "subject_token_path": "./var/run/secrets/tokens/istio-token",
                    "subject_token_type": "urn:ietf:params:oauth:token-type:jwt",
                    "scope": "https://www.googleapis.com/auth/cloud-platform"
                  }
                {{ else }}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu May 16 17:05:28 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/JdkVersionProfileActivator.java

            }
            if (!rangeValue.closed) {
                return isLeft ? -1 : 1;
            }
            return 0;
        }
    
        private static void addZeroTokens(List<String> tokens, int max) {
            while (tokens.size() < max) {
                tokens.add("0");
            }
        }
    
        private static boolean isRange(String value) {
            return value.startsWith("[") || value.startsWith("(");
        }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Jun 06 16:51:39 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  6. maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/JdkVersionProfileActivator.java

            }
            if (!rangeValue.closed) {
                return isLeft ? -1 : 1;
            }
            return 0;
        }
    
        private static void addZeroTokens(List<String> tokens, int max) {
            while (tokens.size() < max) {
                tokens.add("0");
            }
        }
    
        private static boolean isRange(String value) {
            return value.startsWith("[") || value.startsWith("(");
        }
    
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Thu Jun 06 16:51:39 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  7. pkg/kubeapiserver/default_storage_factory_builder.go

    	for _, override := range c.EtcdServersOverrides {
    		tokens := strings.Split(override, "#")
    		apiresource := strings.Split(tokens[0], "/")
    
    		group := apiresource[0]
    		resource := apiresource[1]
    		groupResource := schema.GroupResource{Group: group, Resource: resource}
    
    		servers := strings.Split(tokens[1], ";")
    		storageFactory.SetEtcdLocation(groupResource, servers)
    	}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 29 20:14:51 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  8. security/pkg/util/jwtutil.go

    	if err = json.Unmarshal(data, &listAud); err == nil {
    		return listAud, nil
    	}
    
    	return nil, err
    }
    
    type jwtPayload struct {
    	// Aud is JWT token audience - used to identify 3p tokens.
    	// It is empty for the default K8S tokens.
    	Aud []string `json:"aud"`
    }
    
    // ExtractJwtAud extracts the audiences from a JWT token. If aud cannot be parse, the bool will be set
    // to false. This distinguishes aud=[] from not parsed.
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 31 16:07:11 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  9. analysis/analysis-api-platform-interface/src/org/jetbrains/kotlin/analysis/api/platform/lifetime/KaLifetimeTracker.kt

    import org.jetbrains.kotlin.analysis.api.platform.KaEngineService
    
    /**
     * [KaLifetimeTracker] is an *engine service* which tracks the current [KtLifetimeToken].
     *
     * It can be used in the implementation of custom lifetime tokens to check that the accessed token is in scope.
     */
    public interface KaLifetimeTracker : KaEngineService {
        /**
         * Returns the [KtLifetimeToken] for the currently active analysis, or `null` if no analysis is in progress.
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Thu Jun 06 17:57:40 UTC 2024
    - 1K bytes
    - Viewed (0)
  10. internal/event/target/webhook.go

    	}
    
    	// Verify if the authToken already contains
    	// <Key> <Token> like format, if this is
    	// already present we can blindly use the
    	// authToken as is instead of adding 'Bearer'
    	tokens := strings.Fields(target.args.AuthToken)
    	switch len(tokens) {
    	case 2:
    		req.Header.Set("Authorization", target.args.AuthToken)
    	case 1:
    		req.Header.Set("Authorization", "Bearer "+target.args.AuthToken)
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 8.5K bytes
    - Viewed (0)
Back to top