Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for tokenRevokeType (0.06 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. cmd/sts-handlers.go

    		return
    	}
    
    	claims[expClaim] = UTCNow().Add(duration).Unix()
    	claims[parentClaim] = user.AccessKey
    
    	tokenRevokeType := r.Form.Get(stsRevokeTokenType)
    	if tokenRevokeType != "" {
    		claims[tokenRevokeTypeClaim] = tokenRevokeType
    	}
    
    	// Validate that user.AccessKey's policies can be retrieved - it may not
    	// be in case the user is disabled.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 36.6K bytes
    - Click Count (0)
  2. cmd/iam.go

    // 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
    	}
    
    	return sys.store.RevokeTokens(ctx, accessKey, tokenRevokeType)
    }
    
    // DeleteUser - delete user (only for long-term users not STS users).
    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)
Back to Top