Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 9 of 9 for Tokens (0.04 seconds)

  1. src/bytes/bytes_test.go

    	}
    }
    
    func makeBenchInputHard() []byte {
    	tokens := [...]string{
    		"<a>", "<p>", "<b>", "<strong>",
    		"</a>", "</p>", "</b>", "</strong>",
    		"hello", "world",
    	}
    	x := make([]byte, 0, 1<<20)
    	r := rand.New(rand.NewSource(99))
    	for {
    		i := r.Intn(len(tokens))
    		if len(x)+len(tokens[i]) >= 1<<20 {
    			break
    		}
    		x = append(x, tokens[i]...)
    	}
    	return x
    }
    
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Dec 23 23:54:14 GMT 2025
    - 62.9K bytes
    - Click Count (0)
  2. cmd/iam.go

    				iamLogIf(ctx, nerr.Err)
    			}
    		}
    	}
    	return updatedAt, nil
    }
    
    // RevokeTokens - revokes all STS tokens, or those of specified type, for a user
    // If `tokenRevokeType` is empty, all tokens are revoked.
    func (sys *IAMSys) RevokeTokens(ctx context.Context, accessKey, tokenRevokeType string) error {
    	if !sys.Initialized() {
    		return errServerNotInitialized
    	}
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Oct 15 17:00:45 GMT 2025
    - 76.5K bytes
    - Click Count (0)
  3. cmd/iam-store.go

    			continue
    		}
    		if tokenRevokeType != "" {
    			claims, err := getClaimsFromTokenWithSecret(ui.Credentials.SessionToken, secret)
    			if err != nil {
    				continue // skip if token is invalid
    			}
    			// skip if token type is given and does not match
    			if v, _ := claims.Lookup(tokenRevokeTypeClaim); v != tokenRevokeType {
    				continue
    			}
    		}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 87.1K bytes
    - Click Count (0)
  4. cmd/admin-handlers-users.go

    	if err != nil {
    		writeErrorResponseJSON(ctx, w, toAdminAPIErr(ctx, err), r.URL)
    		return
    	}
    
    	writeSuccessResponseJSON(w, encryptedData)
    }
    
    // RevokeTokens - POST /minio/admin/v3/revoke-tokens/{userProvider}
    func (a adminAPIHandlers) RevokeTokens(w http.ResponseWriter, r *http.Request) {
    	ctx := r.Context()
    
    	// Get current object layer instance.
    	objectAPI := newObjectLayerFn()
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 90.6K bytes
    - Click Count (0)
  5. cmd/api-errors.go

    	},
    	ErrInvalidToken: {
    		Code:           "InvalidTokenId",
    		Description:    "The security token included in the request is invalid",
    		HTTPStatusCode: http.StatusForbidden,
    	},
    	ErrNoTokenRevokeType: {
    		Code:           "InvalidArgument",
    		Description:    "No token revoke type specified and one could not be inferred from the request",
    		HTTPStatusCode: http.StatusBadRequest,
    	},
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Apr 16 07:34:24 GMT 2025
    - 93K bytes
    - Click Count (3)
  6. compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java

                    return;
                }
    
                for (final String optionValue : optionValues) {
                    for (String token : optionValue.split(",")) {
                        String selector = token.trim();
                        boolean active = true;
                        if (!selector.isEmpty()) {
                            if (selector.charAt(0) == '-' || selector.charAt(0) == '!') {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Oct 27 13:24:03 GMT 2025
    - 78.1K bytes
    - Click Count (0)
  7. docs/bucket/notifications/README.md

    subject*                          (string)    NATS subscription subject
    username                          (string)    NATS username
    password                          (string)    NATS password
    token                             (string)    NATS token
    tls                               (on|off)    set to 'on' to enable TLS
    tls_skip_verify                   (on|off)    trust server TLS without verification, defaults to "on" (verify)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 84.2K bytes
    - Click Count (0)
  8. cmd/batch-handlers.go

    	req, err := http.NewRequestWithContext(ctx, http.MethodPost, endpoint, bytes.NewReader(buf))
    	if err != nil {
    		return err
    	}
    
    	if token != "" {
    		req.Header.Set("Authorization", token)
    	}
    	req.Header.Set("Content-Type", "application/json")
    
    	clnt := http.Client{Transport: getRemoteInstanceTransport()}
    	resp, err := clnt.Do(req)
    	if err != nil {
    		return err
    	}
    
    	xhttp.DrainBody(resp.Body)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 63.5K bytes
    - Click Count (1)
  9. cmd/object-api-listobjects_test.go

    						}
    					}
    
    					if testCase.resultL.IsTruncated != resultL.IsTruncated {
    						// Allow an extra continuation token.
    						if !resultL.IsTruncated || len(resultL.Objects) == 0 {
    							t.Errorf("Test %d: %s: Expected IsTruncated flag to be %v, but instead found it to be %v", i+1, instanceType, testCase.resultL.IsTruncated, resultL.IsTruncated)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Oct 10 18:57:03 GMT 2025
    - 76.1K bytes
    - Click Count (0)
Back to Top